зеркало из
https://github.com/iharh/notes.git
synced 2025-10-29 12:46:06 +02:00
m
Этот коммит содержится в:
родитель
921ee05cb7
Коммит
9ed4de2982
@ -1,6 +1,6 @@
|
|||||||
https://www.baeldung.com/keycloak-custom-user-attributes
|
https://www.baeldung.com/keycloak-custom-user-attributes
|
||||||
|
|
||||||
"operator_id": "54c496e5-de79-4ed7-9acb-248181e6c780"
|
"operator_id": "<operator-id-uuid>"
|
||||||
"realm_access": { "roles": [ ..., "operator" ] }
|
"realm_access": { "roles": [ ..., "operator" ] }
|
||||||
"scopes" : "... operator_id"
|
"scopes" : "... operator_id"
|
||||||
"groups": [..., "operator" ],
|
"groups": [..., "operator" ],
|
||||||
@ -25,7 +25,7 @@ Client scopes -> operator_id
|
|||||||
User Attribute: operator_id
|
User Attribute: operator_id
|
||||||
Token Claim Name: operator_id
|
Token Claim Name: operator_id
|
||||||
Add to: id token, access token, user info, token introspection
|
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
|
check
|
||||||
"Realm Roles -> operator -> Users in role"
|
"Realm Roles -> operator -> Users in role"
|
||||||
|
|||||||
Загрузка…
x
Ссылка в новой задаче
Block a user