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

Client Id and Secret support? #129

Open
jonesir opened this issue Jun 11, 2022 · 0 comments
Open

Client Id and Secret support? #129

jonesir opened this issue Jun 11, 2022 · 0 comments

Comments

@jonesir
Copy link

jonesir commented Jun 11, 2022

Hi I am using the approach with Client Id and Secret and was able to retrieve access_token with username and password, however, when passing this to the backend, I got:
WARN [Keycloak] Cannot validate access token: Error: Grant validation failed. Reason: failed to load public key to verify token. Reason: Expected "jwk" to be an Object

Which means the kid in this access_token does not exist in the /certs response.

Any plan to support the Client Id and Secret way for a client or am I missing some settings or so? I was not able to fine a way sofar(as a newbie to keycloak) to add the mentioned kid into the list of kids returned by /certs.

Thanks in advance.

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

No branches or pull requests

1 participant