• Piyush Gupta
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

My question is following.
I am trying to follow "Integration Workbook" from SalesForce, and I have problems with OAuth.
It seems I am missing something important but I can't understand what it is exactly.
So, when I try to access external java heroku callout application http://bdovhan-sfjavaco-advanced.herokuapp.com/orderui I see error
"redirect_uri must match configuration"
despite I have been steps from Integration Workbook.

 

 
 
which shows
 
error=redirect_uri_mismatch&error_description=redirect_uri%20must%20match%20configuration
So, the book says I should go to "Develop\Remote Access". When I go there, I see page
Remote Access
 
Remote Access Objects have been moved to Applications. You'll be redirected to that page in five seconds, or you can click Take Me There to go now. 

 
which redirects me to  Create\Apps page.
 
So I created there new "Connected app" with OAuth Settings
OAuth Settings
Consumer Key
3MVG99qusVZJwhskauq_mFaTDmKNd6sj0K1H.A3yHEU9NDt8RrFK9tUOHoo3d_cCTozj.THYcUC8DuGyh4Udx
Consumer Secret
608214169699987470
Selected OAuth Scopes
Full access (full)
Callback URL
https:/bdovhan-sfjavaco-advanced.herokuapp.com/_auth

which I have copied to heroku.

 

So, what is wrong?