Keep getting Error: redirect_uri_mismatch using youtube api v3

前端 未结 5 1207
孤街浪徒
孤街浪徒 2020-12-19 04:35

Hi I hope someone can help me out here.

I have a Web Application (asp.net) on my local machine, I am trying to upload video to YouTube using this sample https://deve

5条回答
  •  感动是毒
    2020-12-19 05:01

    I got it to work by setting the Redirect URIs to exactly this:

    http://localhost:50517/signin-google
    

    Note: - it does not work with a trailing slash - port number is whatever your visual studio is assigning - I set JavaScript Origins to:

    http://localhost:50517/
    

    With you, though, would be nice if someone actually documented this somewhere...

提交回复
热议问题