Ramanan R R Ramanan R R - 8 days ago 5
iOS Question

New Box iOS SDK sample app issue

I exactly followed this video tutorial for integrating BOX in iOS and performed the same steps in the website (http://developers.box.com/box-ios-sdk-tutorial/). After building the application I got the following content in the simulator " Error:redirect_uri_mismatch " and my console shows the following :

console error message

Answer

If you are getting a redirect_uri_mismatch, chances are that you've entered in a redirect_uri in the Box developer app console. The SDK already handles this for you and only requires the client secret/client id be set. In the app console, leave the redirect_uri blank like in the image attached and everything should be good to go.enter image description here