Google OAuth 2 authorization - swapping code for token

后端 未结 3 1840
滥情空心
滥情空心 2021-01-02 17:15

I\'m trying to implement Google OAuth 2 to get access to Google APIs. I follow this guide, using server-side scenario.

I have no problem with getting the code, serve

3条回答
  •  长情又很酷
    2021-01-02 17:36

    I had the same error until I realized that I was trying to connect with a client ID which I created for iOS. So for me the solution was to create a new API key-secret pair on the API Console with the platform set to "other".

    Now I'm getting other errors but that's another story. ;)

提交回复
热议问题