How to work with segregated consents?

Hello people, I’m studying Keycloak for couple weeks to use in a project, focused on the consent functionality. In this project I need to validate the consents given by the users, and for now Keycloak it’s working well, but I want to give to the users the ability to revoke specifics consents.

For example: if the user gave consent to phone, email and profile-photo scopes, I want to have a endpoint which make possible to the user revoke the profile-photo scope. Is this possible?

In the documentation I just saw options to revoke all the consents. Thanks in advance!

1 Like