Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add client roles mapping section #827

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ If you have an existing configuration using the SAML protocol and want to switch
`Name` | `Groups Mapper`
`Mapper Type` | `Group Membership`
`Token Claim Name` | `groups`
`Full group path` | `OFF`
anupama2501 marked this conversation as resolved.
Show resolved Hide resolved
`Add to ID token` | `OFF`
`Add to access token` | `OFF`
`Add to user info` | `ON`
Expand All @@ -46,6 +47,7 @@ If you have an existing configuration using the SAML protocol and want to switch
`Name` | `Client Audience`
`Mapper Type` | `Audience`
`Included Client Audience` | <CLIENT_NAME>
`Add to ID token` | `OFF`
anupama2501 marked this conversation as resolved.
Show resolved Hide resolved
`Add to access token` | `ON`

- Create a new "Groups Path" with the settings below.
Expand All @@ -56,8 +58,18 @@ If you have an existing configuration using the SAML protocol and want to switch
`Mapper Type` | `Group Membership`
`Token Claim Name` | `full_group_path`
`Full group path` | `ON`
`Add to ID token` | `ON`
`Add to access token` | `ON`
anupama2501 marked this conversation as resolved.
Show resolved Hide resolved
`Add to user info` | `ON`

- Add the following Role Mappings to all users or groups that need to query the Keycloak users
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

```
Role Mappings > Client Roles > realm-management
+ query-users
+ query-groups
+ view-users
```

## Configuring Keycloak in Rancher

1. In the Rancher UI, click **☰ > Users & Authentication**.
Expand Down
Loading