-
Notifications
You must be signed in to change notification settings - Fork 952
Open
Open
Copy link
Labels
s2Broken use cases or features (with a workaround). Only humans may set this.Broken use cases or features (with a workaround). Only humans may set this.
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Currently if you want to create a workspace for another user via the CLI that requires external auth it will block until the creator (as opposed to the owner of the workspace) authenticates.
Expected Behavior
We should be querying whether the owner of the workspace is authenticated with the required external auth providers.
Steps to Reproduce
- Login as a user who can create workspaces for another user
- Create (or use) a template that has a required external auth provider
- Create a user
testuser
- Authenticate with the external auth provider as
testuser
- Ensure you are not authenticated as the user in
step 1
coder create -y testuser/workspace -t mytemplate
- Observe blocking behavior
Environment
- Coder version: main
Metadata
Metadata
Assignees
Labels
s2Broken use cases or features (with a workaround). Only humans may set this.Broken use cases or features (with a workaround). Only humans may set this.