【发布时间】:2014-11-25 23:25:06
【问题描述】:
我正在开发一个需要访问多个谷歌日历的应用程序。所有这些日历都来自不同的用户。现在我正在使用 OAuth2 进行同步。但据我了解,每个客户端 ID 只能生成 25 个刷新令牌。
Note: Save refresh tokens in secure long-term storage and continue to use
them as long as they remain valid. Limits apply to the number of refresh
tokens that are issued per client-user combination, and per user across all clients,
and these limits are different. If your application requests enough refresh tokens
to go over one of the limits, older refresh tokens stop working.
按照建议,我将刷新令牌保存在我的数据库中。但我的问题是,如果我有更多的客户想要同步他们的日历怎么办?有什么办法可以忽略限制吗?当然没有。我现在想到的只是创建更多的客户端 ID。有什么建议吗?
【问题讨论】:
标签: oauth-2.0 oauth google-api google-oauth google-calendar-api