-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Unexpected JWT auth response "badmatch" #5059
Comments
Hi, can you paste your JWT token? |
I think it's a decode error for the public key in the config, @big-r81 we don't need the token |
we should catch and rethrow as something more presentable, but the config is wrong. |
|
OK, thanks for confirming that the key config is wrong, I worked out what happened. I'm using Keycloak and I used the certificate instead of the public key from the realm settings. The cryptic error is probably trying to parse a public key but was given a certificate, i.e. the error It's working now, thanks for your help. |
:) |
yup, error handling is poor here, we'll improve it. |
Here's the config and I'm running this under Docker.
Here's the curl test and output.
What does this mean? Even if my configuration is incorrect, this kind of error is a bit cryptic to understand.
The text was updated successfully, but these errors were encountered: