mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 07:43:10 -05:00
issue: Google oauth redirect does not work #4562
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 @frenzybiscuit on GitHub (Mar 25, 2025).
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
0.5.20
Ollama Version (if applicable)
none
Operating System
Debian 12
Browser (if applicable)
MacOS FIrefox
Confirmation
README.md.Expected Behavior
Works as expected
Actual Behavior
When trying to log into google I get a access blocked: this apps request is invalid error 400: redirect_uri_mismatch
When I click on "i am a developer" it shows the redirect is trying to use http:// and not https:// which I believe is the root cause of the issue.
I've triple checked and I haven't put plain http:// anywhere in the variables, making me believe this is related to an internal code issue.
Steps to Reproduce
.
Logs & Screenshots
.
Additional Information
.
@Zyfax commented on GitHub (Mar 25, 2025):
Have you configured
Authorized redirect URIsin your google account?Based on the message, you have not.
@frenzybiscuit commented on GitHub (Mar 25, 2025):
Hi,
Yes.
Error 400: redirect_uri_mismatch@frenzybiscuit commented on GitHub (Mar 25, 2025):
I guess I could try setting the authorized_redirect_uri to http:// instead of https:// but that seems insecure to me..
@Zyfax commented on GitHub (Mar 26, 2025):
Could it be the reverse proxy is not setting request header to https?
@frenzybiscuit commented on GitHub (Mar 26, 2025):
Perhaps? There is a nginx reverse proxy, but its only the web server. There is no other proxy in front of open-webui.
Also, github works.