![](/img/trans.png)
[英]Laravel, Failed to authenticate on SMTP server with username "" using 3 possible authenticators
[英]Failed to authenticate on SMTP server with username “***” using 2 possible authenticators
我使用谷歌驱动器 api 和 laravel 进行连续备份,所以我使用以下软件包
“nao-pon/flysystem-google-drive”:“~1.1”,和
“spatie/laravel-backup”:“^6.14”
我已经使用刷新令牌设置了谷歌驱动器 api v3 并将其放入.env
FILESYSTEM_CLOUD=google
GOOGLE_DRIVE_CLIENT_ID=****.apps.googleusercontent.com
GOOGLE_DRIVE_CLIENT_SECRET=****
GOOGLE_DRIVE_REFRESH_TOKEN=****
GOOGLE_DRIVE_FOLDER_ID=****
所以一切正常,我可以使用谷歌驱动器作为磁盘通过cron作业每天存储备份,唯一的问题是一周后刷新令牌过期(我假设)并停止使用此错误消息,
Failed to authenticate on SMTP server with username "****" using 2 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code "535", with message "535 Incorrect authentication data
如果我再次从oathplayground更改刷新令牌并将其放入.env
它会再次开始工作一周。
那么我该如何解决这个问题,因此我不需要每周生成令牌。
Oauth Playground 仅用于测试。 在操场上创建的代币只能使用大约两周。
您应该实施自己的授权。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.