scrollinondubs
scrollinondubs
TTypebot
Created by João Morossini on 2/22/2024 in #help-and-questions
Google Authentication not working in self hosted Typebot
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.
7 replies
TTypebot
Created by João Morossini on 2/22/2024 in #help-and-questions
Google Authentication not working in self hosted Typebot
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
7 replies