open-webui/src/lib
G30 71f8b6d5b4
feat: add a master OAuth / OIDC enable toggle in Authentication settings (#26988)
The OAuth / OIDC section in Admin Settings > Authentication had no
enable/disable switch, unlike the LDAP section above it. Add one that
persists via the existing Save flow and actually gates OAuth sign-in,
mirroring how the LDAP toggle works.

- config: new ENABLE_OAUTH persistent config ('oauth.enable'), defaulting
  to True so existing deployments with a provider configured keep working.
- oauth: expose ENABLE_OAUTH via the OAuth runtime config and reject the
  login and callback handlers with 404 when it is disabled.
- /api/config: report no OAuth providers when disabled so the login page
  hides the OAuth buttons (and cannot auto-redirect), without clearing the
  admin's provider configuration.
- auths: expose ENABLE_OAUTH through the admin OAuth config get/update
  endpoints (OAuthConfigForm + OAUTH_CONFIG_KEYS).
- Authentication.svelte: bind the OAuth / OIDC header Switch to the
  persisted oauthConfig.ENABLE_OAUTH and collapse the section when off,
  matching the LDAP header (size, weight, alignment).
2026-07-26 18:43:21 -04:00
..
apis feat: sortable title and updated at columns on the knowledge workspace page (#27457) 2026-07-26 18:19:31 -04:00
components feat: add a master OAuth / OIDC enable toggle in Authentication settings (#26988) 2026-07-26 18:43:21 -04:00
constants refac 2026-07-26 18:06:03 -04:00
i18n i18n: align the pt-PT locale with European Portuguese conventions (#27408) 2026-07-26 18:18:39 -04:00
pyodide fix: matplotlib SyntaxError in sandboxed Pyodide code execution (#26800) 2026-07-23 23:34:26 -04:00
stores refac 2026-07-24 01:09:50 -04:00
types chore: format 2024-08-26 15:38:42 +02:00
utils refac 2026-07-23 02:55:06 -04:00
workers refac 2026-03-24 16:20:29 -05:00
constants.ts refac 2026-04-17 10:44:29 +09:00
dayjs.js chore: format 2025-11-23 20:15:52 -05:00
emoji-groups.json feat: emoji picker 2024-12-30 02:20:09 -08:00
emoji-shortcodes.json feat: emoji picker 2024-12-30 02:20:09 -08:00
index.ts chat feature added 2023-10-08 15:38:42 -07:00
shortcuts.test.ts refac 2026-07-15 04:52:06 -04:00
shortcuts.ts refac 2026-07-15 04:52:06 -04:00