Hi,

 

I’m new to keycloak and we’re investigating using it within our University. In the first instance it would be used as a registration point for external users e.g. prospective students etc. They will either register via the form or using social IdP’s in order to access various apps for these types of users.

 

We want to remain open to using Keycloak for our internal (AD / LDAP) users to authenticate to these same apps as well as corporate applications.

 

The tricky part comes where a prospective student (external identity) enrols and becomes a regular student (LDAP user). We would like them to continue to be recognised as a single identity and have their registered identities merged / linked with their new internal id.

 

Hoping someone might be able to provide some guidance on the best way to go. There are a few ideas I’ve been testing.

 

One is to have a single keycloak realm for user registration and configure LDAP as a user federation source. However this would seem to rule out linking the accounts?

 

Another idea was to configure two realms (internal and external) and have the internal realm act as an IdP for the external realm.

 

Another option is to create three realms, internal, external and combined. The combined realm is used for SSO for all apps and the internal and external realms are configured to be IdP’s for the combined realm. I can’t help but feel this is starting to get more complicated than is necessary.

 

Any guidance or thoughts would be much appreciated.

 

Regards

Adam

 

 

-- 

Adam Keily

Risk & Security Services

The University of Adelaide