You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bdff688
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: keycloak/README.md
+34-11Lines changed: 34 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,17 +62,40 @@ The organization scope should be included in the default client scopes for `task
62
62
63
63
### Adding Users to Organizations
64
64
65
-
To assign a user to one or more organizations:
66
-
67
-
1. Navigate to **Users** in the left sidebar
68
-
2. Select the user you want to configure (or create a new user)
69
-
3. Go to the **Attributes** tab
70
-
4. Click **Add** to add a new attribute
71
-
5. Set the **Key** to: `organization`
72
-
6. Set the **Value** to a comma-separated list of organization IDs (e.g., `test-org-1,test-org-2`)
73
-
7. Click **Save**
74
-
75
-
**Note**: The organization attribute is multivalued, so you can add multiple values. Each value should be a single organization ID. For multiple organizations, add them as separate attribute entries or use a comma-separated string.
65
+
In newer versions of Keycloak (25+), the **Attributes** tab is hidden by default due to the Declarative User Profile feature. You have two options to add organization attributes to users:
-**Permissions**: Set as needed (e.g., **View** for users, **Edit** for admins)
91
+
5. Click **Save**
92
+
6. Navigate to **Users** in the left sidebar
93
+
7. Select the user you want to configure (or create a new user)
94
+
8. The **organization** field should now be visible in the user form
95
+
9. If **Multivalued** is enabled, you will see multiple input boxes - enter one organization ID per box (e.g., `test-org-1` in the first box, `test-org-2` in the second box)
96
+
10. Click **Save**
97
+
98
+
**Note**: When **Multivalued** is enabled, Keycloak provides separate input boxes for each organization value. You do not need to use comma-separated values. Each input box should contain a single organization ID. If **Multivalued** is disabled, you can use a comma-separated string in a single input box.
0 commit comments