Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide further instructions and examples for logging in #37

Open
shutupflanders opened this issue Feb 14, 2024 · 0 comments
Open

Provide further instructions and examples for logging in #37

shutupflanders opened this issue Feb 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@shutupflanders
Copy link

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.

@shutupflanders shutupflanders added the enhancement New feature or request label Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant