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
-[Sourcebot EE] Added external identity provider config and support for multiple accounts. [#595](https://github.com/sourcebot-dev/sourcebot/pull/595)
12
13
13
14
### Fixed
14
15
-[ask sb] Fixed issue where reasoning tokens would appear in `text` content for openai compatible models. [#582](https://github.com/sourcebot-dev/sourcebot/pull/582)
Authentication using both a **GitHub OAuth App** and a **GitHub App** is supported. In both cases, you must provide Sourcebot the `CLIENT_ID` and `SECRET_ID` and configure the
37
-
callback URL correctly (more info in Auth.js docs).
38
-
39
-
When using a **GitHub App** for auth, enable the following permissions:
40
-
-`“Email addresses” account permissions (read)`
41
-
-`"Metadata" repository permissions (read)` (only needed if enabling [permission syncing](/docs/features/permission-syncing))
42
-
43
-
**Required environment variables:**
44
-
-`AUTH_EE_GITHUB_CLIENT_ID`
45
-
-`AUTH_EE_GITHUB_CLIENT_SECRET`
46
-
47
-
Optional environment variables:
48
-
-`AUTH_EE_GITHUB_BASE_URL` - Base URL for GitHub Enterprise (defaults to https://github.com)
Authentication using GitLab is supported via a [OAuth2.0 app](https://docs.gitlab.com/integration/oauth_provider/#create-an-instance-wide-application) installed on the GitLab instance. Follow the instructions in the [GitLab docs](https://docs.gitlab.com/integration/oauth_provider/) to create an app. The callback URL should be configurd to `<sourcebot_deployment_url>/api/auth/callback/gitlab`, and the following scopes need to be set:
| read_user | Yes | Allows Sourcebot to read basic user information required for authentication. |
60
-
| read_api | Conditional | Required **only** when [permission syncing](/docs/features/permission-syncing) is enabled. Enables Sourcebot to list all repositories and projects for the authenticated user. |
61
-
62
-
63
-
**Required environment variables:**
64
-
-`AUTH_EE_GITLAB_CLIENT_ID`
65
-
-`AUTH_EE_GITLAB_CLIENT_SECRET`
66
-
67
-
Optional environment variables:
68
-
-`AUTH_EE_GITLAB_BASE_URL` - Base URL for GitLab instance (defaults to https://gitlab.com)
69
-
70
-
### Google
71
-
---
72
-
73
-
[Auth.js Google Provider Docs](https://authjs.dev/getting-started/providers/google)
74
-
75
-
**Required environment variables:**
76
-
-`AUTH_EE_GOOGLE_CLIENT_ID`
77
-
-`AUTH_EE_GOOGLE_CLIENT_SECRET`
78
-
79
-
### GCP IAP
80
-
---
81
-
82
-
<Note>If you're running Sourcebot in an environment that blocks egress, make sure you allow the [IAP IP ranges](https://www.gstatic.com/ipranges/goog.json)</Note>
83
-
84
-
Custom provider built to enable automatic Sourcebot account registration/login when using GCP IAP.
85
-
86
-
**Required environment variables**
87
-
-`AUTH_EE_GCP_IAP_ENABLED`
88
-
-`AUTH_EE_GCP_IAP_AUDIENCE`
89
-
- This can be found by selecting the ⋮ icon next to the IAP-enabled backend service and pressing `Get JWT audience code`
[Auth.js Microsoft Entra ID Provider Docs](https://authjs.dev/getting-started/providers/microsoft-entra-id)
114
-
115
-
**Required environment variables:**
116
-
-`AUTH_EE_MICROSOFT_ENTRA_ID_CLIENT_ID`
117
-
-`AUTH_EE_MICROSOFT_ENTRA_ID_CLIENT_SECRET`
118
-
-`AUTH_EE_MICROSOFT_ENTRA_ID_ISSUER`
119
-
120
-
---
29
+
Sourcebot supports authentication using several different [external identity providers](/docs/configuration/idp) as well. These identity providers require an
0 commit comments