当我从WHM备份到我的Google Drive帐户时,在身份验证失败后,它只工作一周。如果我重新创建凭据,它将再次工作一周。有没有办法让这个凭证永远不过期?我按照这个链接中的说明来创建所有内容:
发布于 2021-07-29 05:04:45
如果您查看文档experation

你会注意到上面写着OAuth consent screen configured for an external user type and a publishing status of "Testing" is issued a refresh token expiring in 7 days.
解决方案是将您的应用程序设置为生产模式并进行验证,这样您的刷新令牌就不会在一周后过期。
https://stackoverflow.com/questions/68566516
复制相似问题