-->

Incremental combined authorization with Google Sig

2020-06-06 08:04发布

问题:

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