Skip to main content
Question

redirect_uri_mismatch on iOS with server authentication only after SDK update

  • May 22, 2025
  • 4 replies
  • 24 views

Forum|alt.badge.img

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.

4 replies

Forum|alt.badge.img

 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.


Forum|alt.badge.img

But it does not..According to the system we are unknowns..Now thats quite disappointing and frustrating too.


Forum|alt.badge.img

What happened?Still waiting for the solution...Will be grateful if u post here dqfansurvey


Forum|alt.badge.img