Google OAUTH: The redirect URI in the request did not match a registered redirect URI

前端 未结 5 856
眼角桃花
眼角桃花 2020-12-04 19:10

I am trying to make an upload to YouTube from my Java based web app, I spent a few days to understand what and where is the problem and I cannot get it, for now I am pulling

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-04 19:34

    I think I encountered the same problem as you. I addressed this problem with the following steps:

    1) Go to Google Developers Console

    2) Set JavaScript origins:

    • http://localhost

    3) Set Redirect URIs:

    • http://localhost:8080

    • http://localhost:8080/Callback

提交回复
热议问题