Skip to content
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

feat: add coder_external_auth and deprecate coder_git_auth #163

Merged
merged 2 commits into from
Oct 3, 2023
Merged

Conversation

kylecarbs
Copy link
Member

No description provided.

@kylecarbs kylecarbs requested a review from bpmct October 3, 2023 14:45
@kylecarbs kylecarbs self-assigned this Oct 3, 2023
// externalAuthDataSource returns a schema for an external authentication data source.
func externalAuthDataSource() *schema.Resource {
return &schema.Resource{
Description: "Use this data source to require users to authenticate with an external provider prior to workspace creation. This can be used to pre-authenticate external services in a workspace.",
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Description: "Use this data source to require users to authenticate with an external provider prior to workspace creation. This can be used to pre-authenticate external services in a workspace.",
Description: "Use this data source to require users to authenticate with an external service prior to workspace creation. This can be used to pre-authenticate external services in a workspace.",

Copy link
Member

Choose a reason for hiding this comment

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

don't want to mix up things with terraform providers

Copy link
Member

Choose a reason for hiding this comment

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

Can we add an example with the gcloud CLI? I think the terms "provider" "service" and "application" would all be confusing as to what it actually does but one single example could go a long way.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure

@bpmct
Copy link
Member

bpmct commented Oct 3, 2023

How is coder_git_auth deprecated? I don't see a message or anything?

@kylecarbs
Copy link
Member Author

There's a deprecation message added to it. It should be displayed when used.

@kylecarbs kylecarbs merged commit c31c582 into main Oct 3, 2023
9 checks passed
@kylecarbs kylecarbs deleted the extauth branch October 3, 2023 15:25
@github-actions github-actions bot locked and limited conversation to collaborators Oct 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants