000034185 - Clicking on 'Get OAuth 2.0 Access' Token in the RSA Identity Governance and Lifecycle Salesforce connector results in redirect_uri_mismatch

Document created by RSA Customer Support Employee on Nov 1, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000034185
Applies ToRSA Product Set: RSA Identity Governance and Lifecycle (RSA G&L)
RSA Versions: All
Issue
After configuring a Salesforce Connector in AFX, clicking on 'Get OAuth 2.0 Access' results in the following error:

"error=redirect_uri_mismatch&error_description=redirect_uri%20must%20match%20configuration"

User-added image
CauseThis error occurs if the machine is not listed under the redirect URI(s) for the Salesforce instance.
ResolutionBelow are the steps to update the redirect URI to resolve the error:
  1. Login to Salesforce.
  2. Go to Setup.
  3. In the left panel go to Build > Create > Apps
  4. Under Connected Apps choose the OAuth2 application created by you to enable/use OAuth2.
  5. Edit the OAuth2 Connected App.
  6. Add the callback URL to the Callback URL section under API (Enable OAuth Settings) using this format: 
https://<host>:<port>/aveksa/oauth/callback
 

User-added image

Attachments

    Outcomes