-
Hi everyone,
I'm facing a persistent issue with Google authentication on a self-hosted Chatwoot instance running on Cloudron.
When I click on "Sign in with Google", the OAuth URL that's generated is still the following:
The issue is that this client_id refers to an old OAuth credential, even though I have updated the correct GOOGLE_CLIENT_ID in /app/data/env.sh with a completely different ID.
I've saved the file and restarted both the services and the app multiple times — but the old ID is still being used.Is there some caching or compilation step I might be missing?
Do I need to recompile Chatwoot or reload something beyond restarting the app?Thanks
-
N nebulon moved this topic from LibreChat
-
Hi everyone,
I'm facing a persistent issue with Google authentication on a self-hosted Chatwoot instance running on Cloudron.
When I click on "Sign in with Google", the OAuth URL that's generated is still the following:
The issue is that this client_id refers to an old OAuth credential, even though I have updated the correct GOOGLE_CLIENT_ID in /app/data/env.sh with a completely different ID.
I've saved the file and restarted both the services and the app multiple times — but the old ID is still being used.Is there some caching or compilation step I might be missing?
Do I need to recompile Chatwoot or reload something beyond restarting the app?Thanks
@ajax said in OAuth Issue: Incorrect client_id still used despite environment update:
The issue is that this client_id refers to an old OAuth credential, even though I have updated the correct GOOGLE_CLIENT_ID in /app/data/env.sh with a completely different ID.
Did you put the
export
keyword in front of the lines ? Likeexport GOOGLE_CLIENT_ID=xxx
.You shouldn't have to do anything other than restarting .