OAuth "Bad Request" Error with Google Auth #8517
Replies: 2 comments
-
#6546 Found this but did not get what is the issue |
Beta Was this translation helpful? Give feedback.
0 replies
-
@danny-avila are you aware of any such issue , what could cause this ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Issue Description
Experiencing a "Bad Request: TokenError" during Google OAuth login with LibreChat running behind an NGINX ingress controller in Kubernetes. The OAuth flow initiates correctly and redirects to Google, but fails during the callback phase with a token error.
Error Details
Error Message:
Environment Configuration
Kubernetes Setup
chat.domain.com
(accessible and working for other applications)LibreChat Configuration
values.yaml:
Google OAuth Configuration
chat.domain.com
includedhttps://chat.domain.com/oauth/google/callback
Troubleshooting Steps Taken
1. Verified OAuth Configuration
2. Environment Variables
PROXY=true
- Enables proxy supportTRUST_PROXY=true
- Trusts proxy headers3. NGINX Configuration Verification
The NGINX configuration shows correct proxy headers:
Additional Context
Beta Was this translation helpful? Give feedback.
All reactions