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
Copy file name to clipboardExpand all lines: docs/admin/auth.md
+18
Original file line number
Diff line number
Diff line change
@@ -310,6 +310,24 @@ Steps to troubleshoot.
310
310
- [Azure AD limit is 200, and omits groups if exceeded.](https://learn.microsoft.com/en-us/azure/active-directory/hybrid/connect/how-to-connect-fed-group-claims#options-for-applications-to-consume-group-information)
311
311
- [Okta limit is 100, and returns an error if exceeded.](https://developer.okta.com/docs/reference/api/oidc/#scope-dependent-claims-not-always-returned)
312
312
313
+
## Role sync (enterprise)
314
+
315
+
If your OpenID Connect provider supports roles claims, you can configure Coder
316
+
to synchronize roles in your auth provider to deployment-wide roles within Coder.
317
+
318
+
Set the following in your Coder server [configuration](./configure.md).
319
+
320
+
```console
321
+
# Depending on your identity provider configuration, you may need to explicitly request a "roles" scope
322
+
CODER_OIDC_SCOPES=openid,profile,email,roles
323
+
324
+
# The following fields are required for role sync:
Copy file name to clipboardExpand all lines: docs/admin/groups.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Groups
2
2
3
-
Groups can be used with [template RBAC](./rbac.md) to give groups of users access to specific templates.
3
+
Groups can be used with [template RBAC](./rbac.md) to give groups of users access to specific templates. They can be defined in Coder or [synced from your identity provider](./auth.md#group-sync-enterprise).
Copy file name to clipboardExpand all lines: docs/admin/rbac.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Role Based Access Control (RBAC)
2
2
3
-
Use RBAC to define which users and [groups](./groups.md) can use specific templates in Coder.
3
+
Use RBAC to define which users and [groups](./groups.md) can use specific templates in Coder. These can be defined in Coder or [synced from your identity provider](./auth.md)
0 commit comments