我正在使用Google Analytics(分析)API来获取分析数据.我尝试使用以下步骤对其进行身份验证:->在 console.developers.google/凭据部分中创建的OAuth客户端ID.->在同意屏幕中,我已将发布状态设置为测试->在OAuth 2.0 Playground中,我使用上面生成的客户端ID和客户端密钥获取了刷新令牌->然后,我用它来通过它生成访问令牌.
I am using google analytics api to fetch analytics data. I tried to authenticate it using following steps : -> created OAuth client id in console.developers.google/ credentials section. -> In consent screen I had set publishing status as testing -> In OAuth 2.0 Playground I got the refresh token using above generated client id and client secret -> Then I am using it to generate access token through it.
但是几天后,刷新令牌似乎一次又一次过期,尽管其中提到刷新令牌的有效期是终身的.
But After few days refresh token seem to expire again and again although it is mentioned that refresh token validity is life long.
推荐答案另一个答案向我指出了正确的方向,但对我来说,该选项位于其他地方:安全性>找到安全检查/安全问题>应用旁边的上下文菜单>解雇
The other answer pointed me in the right direction but for me the option was located somewhere else: security > security checkup/security issues found > context menu next to your app > dismiss
更多推荐
“令牌已过期或吊销"
发布评论