My problem is very similar to this one: Keep getting Error: redirect_uri_mismatch using youtube api v3But no one seems to be able to find a right solution.
My app is hosted in: test . com:61156/Media/Upload.
In my local computer, I had to modify the hosts file, all to get this AUTH 2.0 working, but still anything I do I keep getting redirect_uri_mismatch no matter what I do.
I am getting this error:
The redirect URI in the request:local host:12451/authorize/ did not match a registered redirect URI.
This is how my Client ID for web application is setup
REDIRECT URIShttp://test.com:61156/
JAVASCRIPT ORIGINShttp://test.com:61156/