See my last post. For me it was a matter of the Permissions (Scopes). I had not checked the “offline_access”. After doing so, it works fine. Pls see the below image how I’ve done for office365
I found the answer here, and you’ll find the settings for Google as well Setup EMails — Dolibarr ERP CRM Wiki
1 Like
Thank you, I have found your solution useful, but unfortunately it does not work with gMail since there is no "offline_access” option:
Dolibarr Wiki keeps silence for the issue in gMail too. Any suggestions?
My suggestion is that you keep on trying diffrent combinations of Scopes until you have tested all of them.
Hey there, Munchilu!
Were you able to fix the issue with the 1-hour lifespan of the token for OAuth with Google?
I’m using Doli 19.0.2 and facing the same issue. I’m worried that when I change my OAuth consent screen to Published(in gcp), I’ll still need to manually update my token every hour.
did someone find a solution for this?