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

Sync PR#827 (Add client roles mapping section) from upstream #74

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
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 @@ -47,6 +47,9 @@ If you have an existing configuration using the SAML protocol and want to switch
| `Token Claim Name`
| `groups`

| `Full group path`
| `OFF`

| `Add to ID token`
| `OFF`

Expand All @@ -71,6 +74,9 @@ If you have an existing configuration using the SAML protocol and want to switch
| `Included Client Audience`
| <CLIENT_NAME>

| `Add to ID token`
| `OFF`

| `Add to access token`
| `ON`
|===
Expand All @@ -92,10 +98,21 @@ If you have an existing configuration using the SAML protocol and want to switch
| `Full group path`
| `ON`

| `Add to ID token`
| `ON`

| `Add to access token`
| `ON

| `Add to user info`
| `ON`
|===

* Go to **Role Mappings > Client Roles > realm-management** and add the following Role Mappings to all users or groups that need to query the Keycloak users.
** query-users
** query-groups
** view-users

== Configuring Keycloak in Rancher

. In the Rancher UI, click *☰ > Users & Authentication*.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
| `Token Claim Name`
| `groups`

| `Full group path`
| `OFF`

| `Add to ID token`
| `OFF`

Expand All @@ -71,6 +74,9 @@
| `Included Client Audience`
| <CLIENT_NAME>

| `Add to ID token`
| `OFF`

| `Add to access token`
| `ON`
|===
Expand All @@ -92,10 +98,21 @@
| `Full group path`
| `ON`

| `Add to ID token`
| `ON`

| `Add to access token`
| `ON

| `Add to user info`
| `ON`
|===

* Go to **Role Mappings > Client Roles > realm-management** and add the following Role Mappings to all users or groups that need to query the Keycloak users.
** query-users
** query-groups
** view-users

== 在 Rancher 中配置 Keycloak

. 在 Rancher UI 中,单击 *☰ > 用户 & 认证*。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ If you have an existing configuration using the SAML protocol and want to switch
| `Token Claim Name`
| `groups`

| `Full group path`
| `OFF`

| `Add to ID token`
| `OFF`

Expand All @@ -71,6 +74,9 @@ If you have an existing configuration using the SAML protocol and want to switch
| `Included Client Audience`
| <CLIENT_NAME>

| `Add to ID token`
| `OFF`

| `Add to access token`
| `ON`
|===
Expand All @@ -92,10 +98,21 @@ If you have an existing configuration using the SAML protocol and want to switch
| `Full group path`
| `ON`

| `Add to ID token`
| `ON`

| `Add to access token`
| `ON

| `Add to user info`
| `ON`
|===

* Go to **Role Mappings > Client Roles > realm-management** and add the following Role Mappings to all users or groups that need to query the Keycloak users.
** query-users
** query-groups
** view-users

== Configuring Keycloak in Rancher

. In the Rancher UI, click *☰ > Users & Authentication*.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
| `Token Claim Name`
| `groups`

| `Full group path`
| `OFF`

| `Add to ID token`
| `OFF`

Expand All @@ -71,6 +74,9 @@
| `Included Client Audience`
| <CLIENT_NAME>

| `Add to ID token`
| `OFF`

| `Add to access token`
| `ON`
|===
Expand All @@ -92,10 +98,21 @@
| `Full group path`
| `ON`

| `Add to ID token`
| `ON`

| `Add to access token`
| `ON

| `Add to user info`
| `ON`
|===

* Go to **Role Mappings > Client Roles > realm-management** and add the following Role Mappings to all users or groups that need to query the Keycloak users.
** query-users
** query-groups
** view-users

== 在 Rancher 中配置 Keycloak

. 在 Rancher UI 中,单击 *☰ > 用户 & 认证*。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ If you have an existing configuration using the SAML protocol and want to switch
| `Token Claim Name`
| `groups`

| `Full group path`
| `OFF`

| `Add to ID token`
| `OFF`

Expand All @@ -71,6 +74,9 @@ If you have an existing configuration using the SAML protocol and want to switch
| `Included Client Audience`
| <CLIENT_NAME>

| `Add to ID token`
| `OFF`

| `Add to access token`
| `ON`
|===
Expand All @@ -92,10 +98,21 @@ If you have an existing configuration using the SAML protocol and want to switch
| `Full group path`
| `ON`

| `Add to ID token`
| `ON`

| `Add to access token`
| `ON

| `Add to user info`
| `ON`
|===

* Go to **Role Mappings > Client Roles > realm-management** and add the following Role Mappings to all users or groups that need to query the Keycloak users.
** query-users
** query-groups
** view-users

== Configuring Keycloak in Rancher

. In the Rancher UI, click *☰ > Users & Authentication*.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
| `Token Claim Name`
| `groups`

| `Full group path`
| `OFF`

| `Add to ID token`
| `OFF`

Expand All @@ -71,6 +74,9 @@
| `Included Client Audience`
| <CLIENT_NAME>

| `Add to ID token`
| `OFF`

| `Add to access token`
| `ON`
|===
Expand All @@ -92,10 +98,21 @@
| `Full group path`
| `ON`

| `Add to ID token`
| `ON`

| `Add to access token`
| `ON

| `Add to user info`
| `ON`
|===

* Go to **Role Mappings > Client Roles > realm-management** and add the following Role Mappings to all users or groups that need to query the Keycloak users.
** query-users
** query-groups
** view-users

== 在 Rancher 中配置 Keycloak

. 在 Rancher UI 中,单击 *☰ > 用户 & 认证*。
Expand Down