Search code examples
keycloakkeycloak-servicesredhat-ssokeycloak-authorization-services

How can we assign a permission to all users in Keycloak Authorization Services policies?


I would like to create a all users policy in Keycloak:

enter image description here

How can I specify that this policy is for all users?

Using '*' didn't work.


Solution

  • How can I specify that this policy is for all users? Using '*' didn't work.

    Having a policy for all users is kind of unusual I would say.

    Nonetheless, You can try to create a default Realm role, so all users will get that role, and then create a policy-based on that role.