TwentyT
Twenty15mo ago
13 replies
Malcolm Holmes

"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.


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?
Was this page helpful?