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
* chore: remove deprecated env-var identity provider configuration
Removes support for configuring GitHub, GitLab, Google, Okta, Keycloak, and
Microsoft Entra ID identity providers via the deprecated AUTH_EE_*_CLIENT_ID/
SECRET/etc. environment variables. These providers must now be defined through
the identityProviders section of the config file. GCP IAP env vars
(AUTH_EE_GCP_IAP_ENABLED / AUTH_EE_GCP_IAP_AUDIENCE) are unaffected.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* docs: add CHANGELOG entry for #1297
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* feedback
* docs: document AUTH_EE_* identity provider removal in v4-to-v5 guide
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* s
* docs: clarify AUTH_EE_* removal lands in v5.0.2
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* changelog
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,14 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
### Changed
11
+
- Removed support for configuring the GitHub, GitLab, Google, Okta, Keycloak, and Microsoft Entra ID identity providers via the deprecated `AUTH_EE_*` environment variables. See the [v5 migration guide](http://docs.sourcebot.dev/docs/upgrade/v4-to-v5-guide#identity-providers-must-be-configured-via-the-config-file) for more details. [#1297](https://github.com/sourcebot-dev/sourcebot/pull/1297)
12
+
- Anthropic thinking mode (adaptive vs. extended) is now resolved from the model's capabilities via the Anthropic Models API instead of a hardcoded model list. [#1294](https://github.com/sourcebot-dev/sourcebot/pull/1294)
13
+
10
14
### Added
11
15
-[EE] Added prompt caching for Ask Sourcebot. For Anthropic models, the static prompt prefix (tool definitions, system prompt, and conversation history) is marked with a cache breakpoint so it is billed at the provider's discounted cache-read rate on subsequent agent steps and follow-up turns. Toggle with `SOURCEBOT_CHAT_PROMPT_CACHING_ENABLED` (default `true`). [#1278](https://github.com/sourcebot-dev/sourcebot/pull/1278)
12
16
-[EE] Added a cached-token breakdown to the Ask Sourcebot message details, showing what share of the input tokens were served from the model provider's prompt cache. [#1278](https://github.com/sourcebot-dev/sourcebot/pull/1278)
13
17
- Added `isLanguageModelConfigured` to the service ping, indicating whether at least one language model is configured. [#1296](https://github.com/sourcebot-dev/sourcebot/pull/1296)
14
18
15
-
### Changed
16
-
- Anthropic thinking mode (adaptive vs. extended) is now resolved from the model's capabilities via the Anthropic Models API instead of a hardcoded model list. [#1294](https://github.com/sourcebot-dev/sourcebot/pull/1294)
17
-
18
19
### Fixed
19
20
- Upgraded `protobufjs` to `^7.6.2`. [#1281](https://github.com/sourcebot-dev/sourcebot/pull/1281)
20
21
- Upgraded `picomatch` to `^4.0.4`. [#1283](https://github.com/sourcebot-dev/sourcebot/pull/1283)
Sourcebot warns at startup if either file is still present.
177
177
</Expandable>
178
178
179
+
### Identity providers must be configured via the config file
180
+
<Note>
181
+
**Who's affected:** Deployments that configure GitHub, GitLab, Google, Okta, Keycloak, or Microsoft Entra ID single sign-on through the deprecated `AUTH_EE_*` environment variables. Deployments that already define these providers in the [`identityProviders`](/docs/configuration/idp) config file section are not affected.
182
+
</Note>
183
+
184
+
#### Description
185
+
186
+
In v4, you could configure these identity providers using `AUTH_EE_*` environment variables (for example `AUTH_EE_GITHUB_CLIENT_ID`). Those variables were deprecated in favor of the [`identityProviders`](/docs/configuration/idp) section of the config file. Starting in v5.0.2, the environment variable path has been removed. Sourcebot no longer reads these variables, and any provider configured only through them will stop appearing on the login screen. This also applies if you are upgrading from an earlier v5 release (v5.0.0 or v5.0.1), where these variables were still supported.
187
+
188
+
The following environment variables are no longer read:
| Microsoft Entra ID |`AUTH_EE_MICROSOFT_ENTRA_ID_CLIENT_ID`, `AUTH_EE_MICROSOFT_ENTRA_ID_CLIENT_SECRET`, `AUTH_EE_MICROSOFT_ENTRA_ID_ISSUER`|
198
+
199
+
#### Action Items
200
+
201
+
<Expandabletitle="Migrating to the config file">
202
+
<br/>
203
+
204
+
Move each affected provider into the `identityProviders` array in your [config file](/docs/configuration/config-file). You don't need to rotate any secrets. Reference your existing environment variable values from the config using [tokens](/docs/configuration/config-file#tokens), keeping the same variable names if you like.
205
+
206
+
For example, a GitHub provider previously configured with environment variables:
Set `purpose` to `sso` to keep the provider usable for login. For providers that take an issuer (Okta, Keycloak, Microsoft Entra ID), add an `issuer` token. For self-hosted GitHub or GitLab, add a `baseUrl` string (this replaces `AUTH_EE_GITHUB_BASE_URL` and `AUTH_EE_GITLAB_BASE_URL`).
235
+
</Note>
236
+
237
+
See the [external identity providers](/docs/configuration/idp) docs for the full per-provider config reference.
// @deprecate in favor of defining identity providers throught the identityProvider object in the config file. This was done to allow for more control over
164
-
// which identity providers are defined and their purpose. We've left this logic here to support backwards compat with deployments that expect these env vars,
165
-
// but this logic will be removed in the future
166
-
// We only go through this path if no identityProviders are defined in the config to prevent accidental duplication of providers
0 commit comments