Repository navigation
Keycloak IdP Post Login Flow - how to use it properly #14591
Answered
by
coderamblings
coderamblings
asked this question in
Q&A
Answered by
coderamblings
Dec 27, 2022
Replies: 4 comments 4 replies
|
I'll write an answer for myself after getting help from a colleague. |
1 reply
Answer selected by
coderamblings
|
OMG thank you so much for posting this! |
0 replies
|
Hello everyone! so this works for exactly one role, that you can define in this config. does anyone know if it is possible to expand this logic to: only grant access to this generic client, when the user has one of the roles that this client has? so that it can protect every client and not just one? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'll write an answer for myself after getting help from a colleague.
We've since upgraded to Keycloak X, so this has been tested to work in Keycloak 19 & Keycloak 20 versions.
Same flow, pictures done if old / new console. Flow attached as post login in IdP configuration, requiring roles assigned to groups via Keycloak's admin console.