Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

why getting the error=redirect_uri_mismatch in Salesforce Mobile SDK?

Asked by Amit Sinha Apr 24, 2021 1.6K views 2 answers
Share

About this question

 I created a hybrid_local mobile app with forcedroid and worked fine with my dev org. But when I tried to run the same app with one of our company sandboxes, it's giving the below error on the emulator even without going to the Salesforce login page for the OAuth process, error=redirect_uri_mismatch&error_description=redirect_uri must match configuration Since I'm still playing around with the SDK I believe this is because some configuration still needs to be done(error description also says btw). If anybody knows about this or a common mistake, please be kind enough to help me out. To call the sandbox I've configured the following things so far. Altered the remoteAccessConsumerKey at assetswwwbootconfig.json in the app Altered the remoteAccessConsumerKey at resvaluesbootconfig.xml in the sdk library And for both organizations, the call-back URL is the same. When I connect to dev org it's working fine. Only the difference is the consumer key. What/ Where do I need to do the missing configuration?

Your answer

2 Answers

Dawnmmedina Latest answer

Answered on Mar 4, 2026

War The Knights is a captivating strategy game where you need to build your kingdom, train knights, and participate in fierce battles to assert your power.

Was this helpful?

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.