fix role claim

This commit is contained in:
Philip Haupt
2025-11-15 23:23:37 +01:00
parent 0356f3cd97
commit 78ffe6198f
2 changed files with 2 additions and 2 deletions

View File

@@ -213,7 +213,7 @@ spec:
- name: ENABLE_OAUTH_ROLE_MANAGEMENT - name: ENABLE_OAUTH_ROLE_MANAGEMENT
value: "True" value: "True"
- name: OAUTH_ROLES_CLAIM - name: OAUTH_ROLES_CLAIM
value: realm_roles value: realm_access.roles
- name: OAUTH_ALLOWED_ROLES - name: OAUTH_ALLOWED_ROLES
value: default-roles-home value: default-roles-home
- name: OAUTH_ADMIN_ROLES - name: OAUTH_ADMIN_ROLES

View File

@@ -656,7 +656,7 @@ sso:
roleManagement: roleManagement:
# -- The claim that contains the roles (can be nested, e.g., user.roles) # -- The claim that contains the roles (can be nested, e.g., user.roles)
# @section -- Role management configuration # @section -- Role management configuration
rolesClaim: realm_roles rolesClaim: realm_access.roles
# -- Comma-separated list of roles allowed to log in (receive open webui role user) # -- Comma-separated list of roles allowed to log in (receive open webui role user)
# @section -- Role management configuration # @section -- Role management configuration
allowedRoles: "default-roles-home" allowedRoles: "default-roles-home"