How-to: configure Webuntis for Keycloak

How-to: configure Webuntis for Keycloak

1 Step: prepare Keycloak:

1. In User Federation → LDAP → Mappers you have to add 5 additional Ldap attributes:

  • ucsschoolRecordUID
  • ucsschoolSchool
  • ucsschoolRole
  • uid
  • username

image

image

2.Define your own scope “untis” under Client Scopes and set to “optional”.

image
now save and add the above five attributes to the “untis” scope in the Mappers tab.
image
image
[…]
image

image

3. Create a “webuntis” client under Clients:

image
image

image
Use this secret in webuntis.

  • Assign the scopes in the Client Scopes tab of “webuntis”, e.g. profile, email, untis
    image

At least, for the logout flow, you should adjust the “Abmeldeeinstellungen” / “logoutsettings”:

image

Step 2: Configuration in Webuntis:

image

Mastodon