Consent management with selective scope authorization

Does keycloak support selection of certain scope for granting consent/authorization by the user to the application/oauth client?
If so, how can it pass the scopes selected by the user during authorization code workflow after authentication?
We managed to display custom consent page with checkboxes for each scope allowing the end user to select what consent the user wants to give to client/app, but not able to find a way to register consent in keycloak only for those scopes, which are selected by the user on consent screen.

Any help is highly appreciated!

5 Likes

Hi @sagarshah1983, we are struggeling with the same issue, did you find a solution? Thx

Unfortunately, no. we did not find a way to manage this. We had some other struggles as well managing our user base, so we decided move away from keycloak and use other tool as Auth server.