要求用户重新验证 Google 集成的原因

Reasons why users are asked required to re-authenticate with Google integration

我正在开发一个与 Google 驱动器集成的产品,用户必须在其中验证他们的帐户才能访问他们的驱动器文件。

据我了解,除了令牌过期之外,通常还有其他原因需要用户重新进行身份验证。基于这种互动,我们收到了很多负面反馈,我希望收集一份有时需要重新验证的原因列表。

我熟悉的两个是: 设备变更 位置变化

对于导致用户使用 Google 重新进行集成身份验证的其他原因或影响的任何建议,我将不胜感激。

谢谢!

A token might stop working for one of these reasons:

  • The user has revoked access.
  • The token has not been used for six months.
  • The user changed passwords and the token contains Gmail scopes.
  • The user account has exceeded a certain number of token requests.

There is currently a limit of 50 refresh tokens per user account per client. If the limit is reached, creating a new token automatically invalidates the oldest token without warning. This limit does not apply to service accounts.

查看 docs 以了解有关身份验证和令牌过期的更多详细信息。