Google OAuth 2 authorization - swapping code for token

后端 未结 3 1798
滥情空心
滥情空心 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:45

    Did you urlencode your client secret and redirect url? That works for me.

    Should be http%3A%2F%2Flocalhost instead of https://localhost.

提交回复
热议问题