I've just setup my first Keycloak server to offer SSO between two applications. These are not Java applications, and one is connected with SAML-2
and the other with OpenID
Connect.
So in Keycloak I have Realm-1
, and then Client-1
(application1
) and Client-2
(application2
) and user-1
and user-2
.
Now I want user-1
to only be allowed access to Client-1
, and user-2
to be allowed access to both Client-1
and Client-2
. Should be simple enough.
I have tried to read up on Roles and Authorization, but I find the documentation(or maybe just the topic) very confusing. I have been playing around with it with no success. I was expecting an interface to just map a group to a Client, and restrict access to the Clients by adding/removing users from groups.