Malcolm Holmes
Malcolm Holmes
TTwenty
Created by Malcolm Holmes on 10/24/2024 in #❓︱help
"token invalid" when attempting to connect to google account
I believe I've set everything up correctly. Running in k8s (from github YAML, with modifications). I have enabled .../auth/userinfo.email, .../auth/userinfo.profile, openid, .../auth/calendar.events and ../auth/gmail.readonly in Google cloud console. When I try to log in, it sends me to google, where I authorise Twenty, then it shows a Cloudflare server error and in the server logs I see:
/app/packages/twenty-server/dist/src/engine/core-modules/auth/filters/auth-rest-api-exception.filter.js:32
throw new _common.InternalServerErrorException(exception.message);
^

InternalServerErrorException: Token invalid.
/app/packages/twenty-server/dist/src/engine/core-modules/auth/filters/auth-rest-api-exception.filter.js:32
throw new _common.InternalServerErrorException(exception.message);
^

InternalServerErrorException: Token invalid.
When I look at my granted Third-party apps & services here https://myaccount.google.com/u/2/connections, I don't see Twenty mentioned. What might I be doing wrong?
14 replies