How to resolve the error=redirect_uri_mismatch&error_description=redirect_uri must match configuration?
I am connecting two salesforce orgs with a connected app, named credential and Auth Provider.
I have created a connected app in the target sandbox.
Created Auth Provider in source org by providing Consumer and secret key from above connected App.
Updated connected app callback URL with the call back url from Auth provider.
Created named credential from above Auth provider.
When trying to authorise I am getting the following error "error=redirect_uri_mismatch&error_description=redirect_uri must match configuration". Can someone help me understand what I am doing wrong?
To resolve the error=redirect_uri_mismatch&error_description=redirect_uri must match configuration -
I found that the callback url in the connected app should be the same as the one you have in your redirect_uri. I tested it with a tool called postman, maybe that can help you as well.