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 reference. Therefore, it can be set to an arbitrary ID (e.g., `primary-github` for your GitHub provider).
41
+
The `CODER_EXTERNAL_AUTH_0_ID` environment variable is used for internal reference. Therefore, it can be set arbitrarily (e.g., `primary-github` for your GitHub provider).
42
42
43
43
44
44
### GitHub
45
45
46
-
> If you don't fined-grained control you can configure a GitHub OAuth app, which is less overhead.
46
+
> If you don't require fine-grained access control, it's easier to configure a GitHub OAuth app!
47
47
48
48
1.[Create a GitHub App](https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app/registering-a-github-app)
49
-
* Set the callback URL to `https://coder.example.com/external-auth/primary-github/callback`.
49
+
* Set the callback URL to `https://coder.example.com/external-auth/USER_DEFINED_ID/callback`.
50
50
* Deactivate Webhooks.
51
51
* Enable fine-grained access to specific repositories or a subset of
52
52
permissions for security.
@@ -72,7 +72,7 @@ The `CODER_EXTERNAL_AUTH_0_ID` environment variable is used for internal referen
0 commit comments