Incremental combined authorization with Google SignIn for Server-Side Apps

独自空忆成欢 提交于 2020-01-12 06:14:29

问题


When login with Server-Side flow, or ask authorization for additional scopes, with auth2.grantOfflineAccess, the result access/refresh token is not getting combined with previous authorized scopes, overriding the previous ones.

Even passing the param to js calls, e.g. auth2.grantOfflineAccess({'include_granted_scopes' : 'true', ...}), the param include_granted_scopes=true is NOT added to the generated URL.

When I manually append the param &include_granted_scopes=true to the generated url on popup window, the incremental combined authorization works, as described in the protocol.

Are there any way to make incremental combined authorization with Google SignIn for Server-Side Apps?

Cheers

来源:https://stackoverflow.com/questions/35023983/incremental-combined-authorization-with-google-signin-for-server-side-apps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!