We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
coder_external_auth
1 parent f677c44 commit 42c21d4Copy full SHA for 42c21d4
docs/admin/external-auth.md
@@ -158,8 +158,8 @@ The following example will require users authenticate via GitHub and auto-clone
158
a repo into the `~/coder` directory.
159
160
```hcl
161
-data "coder_git_auth" "github" {
162
- # Matches the ID of the git auth provider in Coder.
+data "coder_external_auth" "github" {
+ # Matches the ID of the external auth provider in Coder.
163
id = "github"
164
}
165
@@ -168,7 +168,7 @@ resource "coder_agent" "dev" {
168
arch = "amd64"
169
dir = "~/coder"
170
env = {
171
- GITHUB_TOKEN : data.coder_git_auth.github.access_token
+ GITHUB_TOKEN : data.coder_external_auth.github.access_token
172
173
startup_script = <<EOF
174
if [ ! -d ~/coder ]; then
0 commit comments