续订Google OAuth授权码

时间:2016-12-07 13:38:37

标签: angularjs cordova typescript oauth

我尝试在我的应用和Google之间设置OAuth 2系统,在我收到授权码的过程中,我成功地将其交换为访问权限和ID令牌。问题是,每次我尝试运行我的代码后,它都给了我这个错误:

{错误:" invalid_grant",error_description:"代码已兑换。"}

我在离子2上使用角2,用cordova。

Code used to exchange code for tokens

Code used to get authorization code

0 个答案:

没有答案