Google OAuth 2 authorization - Error: redirect_uri_mismatch

前端 未结 30 1968
遥遥无期
遥遥无期 2020-11-22 02:58

On the website https://code.google.com/apis/console I have registered my application, set up generated Client ID: and Client Secret to my a

30条回答
  •  忘了有多久
    2020-11-22 03:22

    I had two request URIs in the Console, http://xxxxx/client/api/spreadsheet/authredirect and http://localhost.

    I tried all the top responses to this question and confirmed that none of them were my problem.

    I removed localhost from the Console, updated my client_secret.json in my project, and the mismatch error went away.

提交回复
热议问题