Google Authentication not working in self hosted Typebot

Hi there! Has anyone had this problem? Any idea how to solve it? I am unable to attach a screenshot right now because our server is down, but I'll post it later. The error message says something along the lines of "missing required parameter client_id" Thanks for the help! 😄
No description
3 Replies
Baptiste
Baptiste15mo ago
That error is cristal clear though https://docs.typebot.io/self-hosting/configuration#google-auth-sheets-fonts Make sure to define the client ID
João Morossini
João MorossiniOP14mo ago
Thanks, Baptiste! 🤓 👍 Sorry for the dumb question. I actually wasn't involved in the configuration process for self hosting and was unaware of these options. Have a great day
scrollinondubs
OK for anyone else who encounters this error, I was hitting it as well having just finally upgraded my instance from 2.28. I finally figured it out: at some point things changed and it requires 2 sets of Google client/secret/api vars for this to work. So you need to make sure your .env file now has all of these present: NEXT_PUBLIC_GOOGLE_API_KEY=asdf GOOGLE_AUTH_CLIENT_ID=asdf GOOGLE_AUTH_CLIENT_SECRET=asdf GOOGLE_SHEETS_CLIENT_ID=asdf GOOGLE_SHEETS_CLIENT_SECRET=asdf NEXT_PUBLIC_GOOGLE_SHEETS_API_KEY=asdf if you're running it in docker like I am run this commend to verify: sudo docker exec -it typebot-typebot-viewer-1 env | grep -E 'NEXT_PUBLIC_GOOGLE_API_KEY|GOOGLE_AUTH_CLIENT_ID|GOOGLE_AUTH_CLIENT_SECRET|GOOGLE_SHEETS_CLIENT_ID|GOOGLE_SHEETS_CLIENT_SECRET|NEXT_PUBLIC_GOOGLE_SHEETS_API_KEY' HTH and headsup: you'll need to go back through all your flows that have the Google Sheets integration node and re-select the account to re-establish the linkage. You don't need to recreate all the field mappings (at least mine were still there) but it had lost the linkage to the google account so you need to re-auth then re-select the account in each flow that has the Gsheets node.

Did you find this page helpful?