Files
open-webui/backend
Classic298 fb5ef978bf fix: enforce OAUTH_ALLOWED_DOMAINS on token exchange endpoint (#23639)
The OAuth token exchange endpoint skipped the domain allowlist check that the normal OAuth callback enforces. An attacker with a valid OAuth token from a non-allowed domain (e.g. gmail.com) could bypass the admin's domain restriction policy entirely.

Adds the same domain validation check used in the OAuth callback, denying access when the email domain is not in the allowed list.
2026-04-12 16:19:58 -05:00
..
2026-03-24 19:43:30 -05:00
2026-04-12 14:22:11 -05:00
2026-04-12 14:22:11 -05:00
2026-03-24 19:43:30 -05:00
2026-03-24 19:43:30 -05:00