Skip to content

Commit 5491e66

Browse files
authored
Merge pull request #1591 from pratikjagrut/ISSUE-48146
Add troubleshooting note for group visibility issue in Assign Global Role
2 parents 2f46e93 + 685b53b commit 5491e66

File tree

3 files changed

+49
-0
lines changed
  • docs/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/authentication-config
  • versioned_docs
    • version-2.10/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/authentication-config
    • version-2.9/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/authentication-config

3 files changed

+49
-0
lines changed

docs/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/authentication-config/configure-keycloak-oidc.md

+17
Original file line numberDiff line numberDiff line change
@@ -156,3 +156,20 @@ When you fill the **Configure a Keycloak OIDC account** form and click on **Enab
156156
### Keycloak Error: "Invalid grant_type"
157157

158158
* In some cases, this error message may be misleading and is actually caused by setting the `Valid Redirect URI` incorrectly.
159+
160+
### Unable to See Groups When Assigning Global Roles
161+
162+
If you use a user that is not part of any groups for initial setup, then you cannot search for groups when trying to assign a global role.
163+
To resolve this, you can either:
164+
165+
1. Manually edit the `authconfig/keycloakoidc` object to enable group search.
166+
167+
1. On the Rancher server:
168+
```bash
169+
kubectl edit authconfigs.management.cattle.io keycloakoidc
170+
```
171+
2. Set `groupSearchEnabled: true`.
172+
3. Save your changes.
173+
174+
2. Reconfigure your Keycloak OIDC setup using a user that is assigned to at least one group in Keycloak.
175+

versioned_docs/version-2.10/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/authentication-config/configure-keycloak-oidc.md

+16
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,19 @@ When you fill the **Configure a Keycloak OIDC account** form and click on **Enab
147147
### Keycloak Error: "Invalid grant_type"
148148

149149
* In some cases, this error message may be misleading and is actually caused by setting the `Valid Redirect URI` incorrectly.
150+
151+
### Unable to See Groups When Assigning Global Roles
152+
153+
If you use a user that is not part of any groups for initial setup, then you cannot search for groups when trying to assign a global role.
154+
To resolve this, you can either:
155+
156+
1. Manually edit the `authconfig/keycloakoidc` object to enable group search.
157+
158+
1. On the Rancher server:
159+
```bash
160+
kubectl edit authconfigs.management.cattle.io keycloakoidc
161+
```
162+
2. Set `groupSearchEnabled: true`.
163+
3. Save your changes.
164+
165+
2. Reconfigure your Keycloak OIDC setup using a user that is assigned to at least one group in Keycloak.

versioned_docs/version-2.9/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/authentication-config/configure-keycloak-oidc.md

+16
Original file line numberDiff line numberDiff line change
@@ -156,3 +156,19 @@ When you fill the **Configure a Keycloak OIDC account** form and click on **Enab
156156
### Keycloak Error: "Invalid grant_type"
157157

158158
* In some cases, this error message may be misleading and is actually caused by setting the `Valid Redirect URI` incorrectly.
159+
160+
### Unable to See Groups When Assigning Global Roles
161+
162+
If you use a user that is not part of any groups for initial setup, then you cannot search for groups when trying to assign a global role.
163+
To resolve this, you can either:
164+
165+
1. Manually edit the `authconfig/keycloakoidc` object to enable group search.
166+
167+
1. On the Rancher server:
168+
```bash
169+
kubectl edit authconfigs.management.cattle.io keycloakoidc
170+
```
171+
2. Set `groupSearchEnabled: true`.
172+
3. Save your changes.
173+
174+
2. Reconfigure your Keycloak OIDC setup using a user that is assigned to at least one group in Keycloak.

0 commit comments

Comments
 (0)