Skip to content

docs: add new steps for org sync through ui #15768

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

Merged
merged 6 commits into from
Dec 10, 2024

Conversation

EdwardAngert
Copy link
Contributor

@EdwardAngert EdwardAngert commented Dec 5, 2024

@EdwardAngert EdwardAngert self-assigned this Dec 5, 2024
@EdwardAngert EdwardAngert requested a review from jaaydenh December 5, 2024 21:34
@jaaydenh jaaydenh requested a review from Emyrk December 9, 2024 14:35
> One claim value from your identity provider can be mapped to many
> organizations in Coder. The example above maps to two organizations in
> Coder.
If there are already users in the default organization, leave **Assign
Copy link
Contributor

Choose a reason for hiding this comment

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

As I understand it, when Assign Default Organization is enabled, users will always be added to the default organization and when it is disabled users will always be removed from the default organization. I think it may be useful to let users know that this is always the case whether or not users are already in the default organization.

1. Fetch the corresponding organization IDs using the following endpoint:

```text
https://[coder.example.com]/api/v2/organizations
```

1. Set the following in your Coder server [configuration](../setup/index.md).
1. As a Coder admin, go to **Settings** > **IdP organization sync**.
Copy link
Member

@johnstcn johnstcn Dec 10, 2024

Choose a reason for hiding this comment

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

Note: we should probably clarify that the user must be an Organization Admin or a site-wide User Admin.

ref: https://github.com/coder/coder/blob/main/coderd/rbac/roles.go (search for ResourceIdpsyncSettings)

@EdwardAngert EdwardAngert merged commit b336e3b into 15431-docs-org-sync Dec 10, 2024
23 of 24 checks passed
@EdwardAngert EdwardAngert deleted the 15503-ui-org-sync branch December 10, 2024 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants