Relative Content

Tag Archive for keycloak

KeyCloak Multitenency

I want to create 2 tenants in a single realm with complete isolation so that one tenant admin can only see/manage his users and not the other tenants . What would be the best way to achieve this ?

Keycloack Custom Identity provider

I’m trying to create a new idp for my purposes.
I created all, it get shown on “identity providers” and i can enable it, so on login screen i see my new Idp.
I implemented “performLogin” to do a redirect to my service, then my service redirect back to keycloak with some query data that i will read on “callback” implemented as “Endpoint”.
I can get all i need from “callback”, i can create a new user from that, assign a role etc
What i’m missing is to authenticate the user:

having pre-defined keycloak group attributes

White creating the group in keycloak, I want to pre-define the group attribute keys so that admin need not enter group keys while creating the group for every group. He will only need to enter the group attribute value.
Is there any way to achieve this in latest keycloak?