8000 Add note to documentation about using groups with transient-users by thomasdarimont · Pull Request #28874 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion docs/transient-users.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ When using transient users, you should be aware of the following:
which is added to regular users automatically, but has to be assigned
to transient users also through a mapper (e.g. the `Hardcoded Role` mapper type).

An alternative to the Hardcoded Role mapper approach is to use groups which allows for more flexible role mappings.
To do so, create a group like `transient-users` and assign the `default-roles-{realm}` realm role to it.
Then add a Hardcoded Group mapper to the identity-provider and select the `transient-users` group.
This will ensure that all roles associated with the `transient-users` group are automatically assigned to the brokered users.

- Since every transient user is created afresh, mappers always
work in the `Import` sync mode.

Expand All @@ -55,4 +60,4 @@ When using transient users, you should be aware of the following:
- Technically, transient user data is stored as part
of the user session. It thus increases the session size.

</@tmpl.guide>
</@tmpl.guide>
0