mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
Issue: Google OAuth - after confirming the account redirected to the auth page #6049
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 @dmytropoltorak on GitHub (Aug 12, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.22
Ollama Version (if applicable)
v0.11.4
Operating System
Ubuntu 22.04.5 LTS
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
After user verification, I need to log in to the chat
Actual Behavior
I'm facing a problem using Google OAuth. After user verification, I am redirected to the authentication page
ENVs in docker-compose file:
Google SSO
In logs I don't find any errors about auth or something like that
Would you be able to help me find a solution?
Steps to Reproduce
Logs & Screenshots
2025-08-12 05:36:08.434 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.19.0.1:0 - "GET /auth/callback/google?state=some_stage&code=4come_code&scope=email+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+openid&authuser=1&hd=site.com&prompt=consent HTTP/1.1" 200
Additional Information
I'm using nginx for proxying to open-webui
Use this headers:
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_redirect off;
@dmytropoltorak commented on GitHub (Aug 12, 2025):
Its my mistake.
I removed this string from my nginx config file:
proxy_cookie_path / "/; Secure; HttpOnly; SameSite=None";