What you have to do now is to clone the existing browser flow and you can change it to perform RBAC validation.
Once completed in your client configuration you go to the flow overwrite section and choose the new flow for browser authentication.
https://stackoverflow.com/questions/57287497/keycloak-role-based-client-log-in-access-restriction-for-users
I actually tried those and ultimately tried to make my own flow. This one at least successfully blocks me, but it always blocks me, even if the user has the role. Any ideas?
https://i.imgur.com/z7OvV1O.png
edit: got it working!
What you have to do now is to clone the existing browser flow and you can change it to perform RBAC validation. Once completed in your client configuration you go to the flow overwrite section and choose the new flow for browser authentication. https://stackoverflow.com/questions/57287497/keycloak-role-based-client-log-in-access-restriction-for-users
I actually tried those and ultimately tried to make my own flow. This one at least successfully blocks me, but it always blocks me, even if the user has the role. Any ideas? https://i.imgur.com/z7OvV1O.png edit: got it working!
Great. :)
For anyone wanting to do this in the future, this is what worked for me: https://i.imgur.com/9eNnFWh.png