Error: redirect_uri_mismatch
I found the following link today.
https://medium.com/box-developer-blog/oauth-2-0%E3%83%AA%E3%83%80%E3%82%A4%E3%83%AC%E3%82%AF%E3%83%88uri%E3%81%AE%E5%A4%89%E6%9B%B4-910fc5cac7b1
The redirect URL of the existing application is set to "http://127.0.0.1".
(The port number is random each time)
When I created a new application and set the redirect URL to "http://127.0.0.1" and executed it, it became "Error: redirect_uri_mismatch".
If this is the case, it will expire and existing apps will not work.
How can I fix the redirect URL?
thank you.
-
I tried various things.
As a result, it works with "http://127.0.0.1:80/".If this is wrong, please let me know.
thank you.
-
Hi, we're having the exact same issue. Thanks to box_test2, 'http://127.0.0.1:80/' works here as well, but isn't it wrong when the (local native) app is actually listening at random ports most likely not at 80?
-
You can no longer configure it fully and based off of my experience. Someone also calls this out according to this thread: Error: redirect_uri_mismatch – Box Support. What i mean by partially is that within the Apps configuration tab within the Developer Console you can add a redirect in this section:
OAuth 2.0 Redirect URI, however Box.com configures the rest and it has the Http:127.... in it.
Please sign in to leave a comment.
Comments
7 comments