mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-11 10:34:13 -05:00
[GH-ISSUE #13307] feat: Support Multiple OAuth redirect URIs #16878
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @choskeli on GitHub (Apr 28, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/13307
Check Existing Issues
Problem Description
I want to support two different URLs for my open-webui site when using Okta, but redirect_uri can only be set to a single value currently.
Desired Solution you'd like
Allow the user to define a map of URL to redirect URL and have that supersede the redirect_url. Something like this in oauth.py:
Alternatives Considered
No response
Additional Context
I would implement a pull request for this if it will be accepted.