docs: document OAUTH_AUTO_REDIRECT#1260
Open
zaid-marji wants to merge 1 commit into
Open
Conversation
Add the OAUTH_AUTO_REDIRECT environment variable to the env-variable reference (`docs/reference/env-configuration.mdx`) and the SSO configuration overview (`docs/features/authentication-access/auth/sso`). Covers the auto-redirect behavior, the single-provider requirement, and the `/auth?form=true` escape hatch.
This was referenced May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Documents the new
OAUTH_AUTO_REDIRECTenvironment variable, added to Open WebUI in a companion code PR (open-webui/open-webui).When
OAUTH_AUTO_REDIRECTis enabled and exactly one OAuth provider is configured, an unauthenticated visit to/authis redirected straight to that provider — skipping the intermediate "Continue with <provider>" button./auth?form=truereaches the local login form.Changes
docs/reference/env-configuration.mdx— newOAUTH_AUTO_REDIRECTentry in the OAuth section (Type / Default / Description / Persistence), plus a tip on the/auth?form=trueescape hatch.docs/features/authentication-access/auth/sso/index.mdx— new row in the OAuth Configuration Overview table.Verification
Full
npm run build(Docusaurus) passes with these changes.Targets
devso the docs stage alongside the unreleased feature.