redirect_uri_missing
I'm trying to use the REST API from within an Objective C mac app but keep getting this "redirect_uri_missing" error, even though the parameter IS specified in both the URL I'm opening with the browser for authentication as well as in the app's configuration in the developer console.
The error details even mention this redirect_uri parameter, for example:
Error: redirect_uri_missing
- redirect_uri=http://localhost:14865/
- state=(removed)
- client_id=(removed)
Whatever I enter there – using custom url scheme or http:://localhost, either with a fixed or dynamic port, I keep getting this error and thus can't get OAuth to work. Am I missing something essential here? It's pretty frustrating...
-
You typically see the redirect_url_missing error if you don't pass one in your authorization call...
https://developer.box.com/guides/authentication/oauth2/with-sdk/#2-redirect-user
-
For some reason it started to work, but I haven't really changed anything. I just kept disabling and re-enabling the respective entry in the Custom Apps Manager because it continuously switched its Client ID to an old and defunct one after several minutes. After the 4th or 5th try (didn't keep count) it started to work and the entry kept the correct Client ID. Pretty frustrating. But at least it finally seems to work now
Post is closed for comments.
Comments
8 comments