在 chrome 扩展 v3 中使用 google 和 google calendar API 进行社交登录时没有获得刷新令牌 [关闭]

问题描述 投票:0回答:0
  • 什么时候用google和google calendar API URL response type 'id_token token code' and access_type 'offline' social login, 然后在access_token, id_token, expiries_in等得到响应,但是不能得到refresh_token。

  • 因为access_token会在3599秒后过期。我试图通过使用刷新令牌更新 access_token 来防止在 3599 秒后注销。但就我而言,我没有得到 refresh_token 作为回应,那么如何获得 refresh_token?

  • error message and code reference image

  • 我试过上面的参考图片,但作为回应没有得到 refresh_token。谁能帮我解决这个问题。

javascript google-chrome-extension google-calendar-api google-signin google-api-js-client
© www.soinside.com 2019 - 2024. All rights reserved.