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

fix: Correct curl snippets for builtin connector example #168

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hreeder
Copy link

@hreeder hreeder commented Apr 6, 2024

The current curl snippets both give the following error:

{"error":"invalid_client","error_description":"Invalid client credentials."}

This is because the input to the basic auth header is incorrect.

In the case of the public client, the plaintext is missing a : (indicating that public-client is the username portion of the basic auth header), and it also should have the trailing newline stripped.

In the case of the private client, we just need to strip the trailing newline.

Once that was corrected, both examples still fail due to an invalid password, as the previously shown config file sets password rather than admin as the password for the sample user.

Signed-off-by: Harry Reeder <harry@harryreeder.co.uk>
@hreeder hreeder force-pushed the fix/hreeder/local-auth-docs branch from a45d4fe to 4b9e8a6 Compare April 6, 2024 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant