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
Copy file name to clipboardExpand all lines: docs/docs/configuration/idp.mdx
+2-5Lines changed: 2 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,11 +20,6 @@ External identity providers can be used for [authentication](/docs/configuration
20
20
"provider": "github",
21
21
"purpose": "account_linking",
22
22
"accountLinkingRequired": true,
23
-
/*
24
-
Secrets are provided through environment variables. Set the secret into
25
-
an env var and provide the name here to tell Sourcebot where to get
26
-
the value
27
-
*/
28
23
"clientId": {
29
24
"env": "GITHUB_IDENTITY_PROVIDER_CLIENT_ID"
30
25
},
@@ -45,6 +40,8 @@ the value
45
40
}
46
41
```
47
42
43
+
Secret values (such as `clientId` and `clientSecret`) can be provided as environment variables or Google Cloud secrets via [tokens](/docs/configuration/config-file#tokens).
44
+
48
45
# Supported External Identity Providers
49
46
50
47
Sourcebot uses [Auth.js](https://authjs.dev/) to connect to external identity providers. If there's a provider supported by Auth.js that you don't see below, please submit a
0 commit comments