Hi Patrik,
Thanks for reaching out to us.
You may refer to this document to read more information about refresh token
expiration. Since you mentioned that the refresh token expires after 7 days,
then it appears that the scenario below is happening at your end.
"A Google Cloud Platform project
Hello!
As I understand I have to get a new refreshtoken every 7 days if the webapp
is public.
As we only use it internally and as a webservice for us it makes only sens
to authorize the app once and use the refreshtoken afterwards.
BUT:
serviceaccounts are only usable for google workspace cu