Richard Nemeth
7 months ago
No known key found for this signature in database
GPG Key ID: 21C39470DF3DEC39
1 changed files with
1 additions and
1 deletions
-
src/keycloak/keycloak_admin.py
|
|
@ -2305,7 +2305,7 @@ class KeycloakAdmin: |
|
|
|
default_realm_roles = [ |
|
|
|
realm_role |
|
|
|
for realm_role in all_realm_roles |
|
|
|
if realm_role["name"] == f"default-roles-{self.connection.realm_name}" |
|
|
|
if realm_role["name"] == f"default-roles-{self.connection.realm_name}".lower() |
|
|
|
] |
|
|
|
return default_realm_roles[0]["id"] |
|
|
|
|
|
|
|