Skip to content

Conversation

coadler
Copy link
Contributor

@coadler coadler commented Sep 20, 2022

No description provided.

@coadler coadler self-assigned this Sep 20, 2022
Copy link
Member

@kylecarbs kylecarbs left a comment

Choose a reason for hiding this comment

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

This doesn't delete users, right? I wonder if people will want/expect that, but it gets a bit tricky because of workspaces...

if len(options.ScimAPIKey) != 0 {
api.AGPL.RootHandler.Route("/scim/v2", func(r chi.Router) {
r.Use(api.scimEnabledMW)
r.Post("/Users", api.scimPostUser)
Copy link
Member

Choose a reason for hiding this comment

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

Capital U? :o

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah this is the SCIM spec :(

Copy link
Member

Choose a reason for hiding this comment

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

craaaazy

@coadler
Copy link
Contributor Author

coadler commented Sep 20, 2022

This doesn't delete users, right? I wonder if people will want/expect that, but it gets a bit tricky because of workspaces...

Yeah, this is probably fine for now too. People mostly care about deprovisioning access. Deprovisioning resources can definitely be a follow up.

Copy link
Member

@kylecarbs kylecarbs left a comment

Choose a reason for hiding this comment

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

We should add docs in this PR too.

https://coder.com/docs/coder-oss/latest/admin/auth you can add a section for SCIM. I'm sure @bpmct would help!

coadler and others added 2 commits September 20, 2022 13:24
@bpmct
Copy link
Member

bpmct commented Sep 20, 2022

closes #3501

@coadler coadler linked an issue Sep 20, 2022 that may be closed by this pull request
@coadler coadler requested a review from kylecarbs September 20, 2022 19:53
@coadler coadler merged commit 5e2efb6 into main Sep 20, 2022
@coadler coadler deleted the colin/entfactor-scim2 branch September 20, 2022 20:16
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.

Automated user provisioning via SCIM
3 participants