Skip to main content
Question

Redirection uri mismatch issue

  • May 22, 2025
  • 1 reply
  • 15 views

Forum|alt.badge.img

Hi Support Team,

I have integrated android box SDK in my application but getting the redirection URI mismatch error so please let me what are doing wrong in my app.

BOX1_wJiaAw1hHEGh3xfs7Ro_DA.png

 

Thanks

1 reply

Forum|alt.badge.img

Hi Vijendra,

This symptom can originate from different places, the usual suspects are:

Authentication Method on your app configuration

On the dev console open your app, flip to the configuration, and check the redirect URI's (looks like this)

BOX1_JJP-B21xihySYvT74ViPVA.png

Make sure your app authentication is consistent. JWT vs User/Client Authentication.

 

Redirect URI's on your app configuration

This has "recently-ish" changed, check out this release note.

On the dev console open your app, flip to the configuration, and check the redirect URI's (looks like this)

BOX1_mFJjPgixlGhjMJ7FlgV1-A.pngMake sure it matches what you used on you SDK Box config

BoxConfig.CLIENT_ID = "your-client-id";
BoxConfig.CLIENT_SECRET = "your-client-secret";
// must match the redirect_uri set in your developer account
// if one has been set.
//Redirect uri should not be of type file:// or content://.
BoxConfig.REDIRECT_URL = "your-redirect-uri";

Hope this helps.

Cheers