Skip to content

Provide further instructions and examples for logging in #37

Description

@shutupflanders

What would you like to be added or enhanced
Mention in the docs that the username and password need to be base64 encoded when calling /login

Why is this needed
I was confused when I received an error attempting to login using my custom immudb credentials:

{
    "code": 3,
    "message": "illegal base64 data at input byte 4"
}

It led me to believe that my credentials were wrong, or they were possibly hardcoded in immugw, only when I thought to try a base64 decode on aW1tdWRi did I figure out the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions