redirect_uri_mismatch on iOS with server authentication only after SDK update
Our iOS app uses OAuth 2.0 with JWT (server) for authentication. Everything works fine with the box-ios-sdk version 2.0.0, but when I update to 2.2.0 and try to call contentClient.authenticate I am presented with a view controller that displays the error redirect_uri_mismatch. This is strange because authentication never needed to redirect before, the authentication completion block would be called with a valid user.
-
Unfortunately, I believe the SDK was inadvertently updated in a backwards-incompatible way in v2.2.0, related to JWT auth. You should be able to update to the latest version of the SDK (v2.3.0 as of right now) and refer to the documentation at https://github.com/box/box-ios-sdk/blob/master/doc/BoxPlatform.md for the current recommended way to do JWT auth with the iOS SDK.
-
What happened?Still waiting for the solution...Will be grateful if u post here dqfansurvey
-
Please sign in to leave a comment.
Comments
4 comments