You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `CODER_EXTERNAL_AUTH_0_ID` environment variable is used for internal
28
29
reference. Therefore, it can be set arbitrarily (e.g., `primary-github` for your
29
30
GitHub provider).
@@ -32,7 +33,7 @@ You can now add the following code to any template. This will add a button to th
32
33
33
34
```tf
34
35
data "coder_external_auth" "<github|gitlab|azure-devops|bitbucket-cloud|bitbucket-server|etc>" {
35
-
id = "<USER_DEFINED_ID>"
36
+
id = "<USER_DEFINED_ID>"
36
37
}
37
38
38
39
# Github Example (CODER_EXTERNAL_AUTH_0_ID="github-auth")
@@ -46,13 +47,13 @@ data "coder_external_auth" "github" {
46
47
Inside your terraform code, you now have access to authentication variables. Reference the documentation for your chosen provider for more information on how to supply it with a token.
47
48
48
49
### Workspace CLI
50
+
49
51
An access token can be accessed within the workspace by using
0 commit comments