-
Notifications
You must be signed in to change notification settings - Fork 694
Authorization Code with PKCE Flow with keycloak 7.0 is failing #624
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
Comments
Could you try to make a reproducible example, e.g. on StackBlitz? |
Actually there is no need to create an example on StackBlitz. I only changed 3 lines in auth-code-flow.config.ts file of the sample code. export const authCodeFlowConfig: AuthConfig = { To export const authCodeFlowConfig: AuthConfig = { I'm targeting my local keycloak where I created first a "test" realm, then a "test_client" client in this realm. Nothing fancy really. |
I will bring the solution to my own question thanks to the blog entry of Jeroen at https://ordina-jworks.github.io/security/2019/08/22/Securing-Web-Applications-With-Keycloak.html : |
The part with the NullValidationHandler can be omitted as soon as #613 is merged. |
The id_token validation is failing with the error :
The id_token sent back by Keycloak is :
In contrast, here is the id_token sent back by Identity Server of the original source code (https://demo.identityserver.io) :
The text was updated successfully, but these errors were encountered: