When I backup from WHM to my Google Drive account it works for one week only, after that authentication fails. If I recreate the credentials it works again for another week. Is there a way for this credential to never expire? I am following instructions from this link to create everything:
Asked
Active
Viewed 1,557 times
1 Answers
5
If you check the documentation experation
You will notice it says OAuth consent screen configured for an external user type and a publishing status of "Testing" is issued a refresh token expiring in 7 days.
Solution is to set your application to production mode and have it verified then your refresh tokens will not expire after a week.

Linda Lawton - DaImTo
- 106,405
- 32
- 180
- 449
-
Thanks a lot for your answer, I will test it again and check after 1 week if it works – MRogo Jul 31 '21 at 22:00