-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Affiliation information in Keycloak user profile #127
Comments
This is configuration. We could check it in https://synthesys-demo.rciam.grnet.gr/. In the case of OIDC clients we could have voperson_external_affiliation in ID token, access token, userinfo. In which of them we want to be exposed? |
Keycloak for OIDC clients only have two options for client scope:
So if we named voperson_external_affiliation the OIDC client scope and add it as optional client scope in client, we can achieve what is described. All configuration are done in https://login-demo.dissco.eu/. Test need to be done. |
Affiliation as described above is returned. |
PR for multivalue always return List. No matter if user has one value. |
Examples of multi-valued (lists/arrays of strings) claims:
|
With the following congiguration we can achieve what we want :
|
Three first bullets configuration has been done in realm SynthesysPlus of https://login-demo.dissco.eu/ |
Affiliation information is released through the multi-valued
eduPersonScopedAffiliation
attribute (urn:oid:1.3.6.1.4.1.5923.1.1.1.9
).For more information see https://wiki.refeds.org/display/STAN/eduPerson+2020-01#eduPerson202001-eduPersonScopedAffiliation
Keycloak should store any
eduPersonScopedAffiliation
attribute values released by the Identity Provider in the user's profile under thevoPersonExternalAffiliation
attribute. This attribute should be updated every time the user logs in. The affiliation information should be made available to clients as follows:urn:oid:1.3.6.1.4.1.25178.4.1.11
attribute in the case of LDAP and SAML clientsvoperson_external_affiliation
claim in the case of OIDC clients (only when thevoperson_external_affiliation
scope is requested)The text was updated successfully, but these errors were encountered: