Этот коммит содержится в:
Ihar Hancharenka 2025-03-03 20:12:17 +03:00
родитель 921ee05cb7
Коммит 9ed4de2982

Просмотреть файл

@ -1,6 +1,6 @@
https://www.baeldung.com/keycloak-custom-user-attributes
"operator_id": "54c496e5-de79-4ed7-9acb-248181e6c780"
"operator_id": "<operator-id-uuid>"
"realm_access": { "roles": [ ..., "operator" ] }
"scopes" : "... operator_id"
"groups": [..., "operator" ],
@ -25,7 +25,7 @@ Client scopes -> operator_id
User Attribute: operator_id
Token Claim Name: operator_id
Add to: id token, access token, user info, token introspection
Clients -> account-console - Client scopes -> Add client scope -> operator_id (Default)
Clients -> account-console - Client scopes -> Add client scope -> operator_id (!!! Default !!!)
check
"Realm Roles -> operator -> Users in role"