You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# In order to use keycloak client's roles as authorization layer
448
-
claim_groups_key: roles
449
-
allowed_groups:
447
+
allowed_users:
450
448
- user
451
-
admin_groups:
449
+
admin_users:
452
450
- admin
453
451
JupyterHub:
454
452
authenticator_class: generic-oauth
455
453
```
456
454
455
+
If you want to use Keycloak roles as JupyterHub groups for authorization you must create or modify a Keycloak scope mapper to return the roles, and ensure the mapper is returned in userinfo.
456
+
For example, if you modify the default Keycloak Client scope called `roles`:
0 commit comments