mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-11 18:43:44 -05:00
[GH-ISSUE #3552] Google OAuth authentication fails #51971
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 @m8i-51 on GitHub (Jun 30, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/3552
Bug Report
Description
Bug Summary:
I have set up OAuth using Google Auth.
When I check the Open webUI admin console, the account is created, but the login user is being redirected and the process fails.
Environment
0.3.70.3.6Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
Internal Server ErrorDocker Container Logs:
Additional Information
I have set the redirect URL for Google Cloud as follows.
http://localhost:3000/oauth/google/callbackNote
It seems that there is a character encoding error because Japanese text is assigned to 'name', 'given_name', and 'family_name' in the following JSON.
I have confirmed that when using English characters for the keys in the aforementioned JSON, the redirection succeeds.
This is my first time creating an issue for an OSS. Please let me know if there are any points to improve.
@cheahjs commented on GitHub (Jul 1, 2024):
Hey, do you have a bit more of the exception stack trace from the error message? Trying to figure out which cookie is problematic here.
@m8i-51 commented on GitHub (Jul 1, 2024):
@cheahjs
Thank you for confirming.
I have to apologize for one mistake.
The version is v0.3.6.
Here is the error message: