When submitting an OAuth request you receive the below error:
error_description: Mismatching redirect_uri. Given: 'https://ssg920.ca.com/callback'
*The URL in your message will be unique in your environment.
As suggested in the message this is caused by a mismatch in the redirect uri / callback URL.
While the redirect uri is optional as part of the request, if provided, only requests using a registered redirect_uri of this client will be granted by the OAuth server. The registered URL must match the request exactly.
Release: 4.x, 3.x
Component: APIGTW OTK
To resolve the problem you will need to confirm the registered redirect uri matches what you are submitting in your request.
1. Login to OAuth manager
2. Locate the OAuth client you are using to submit the request and click 'List Keys'
3. Click the 'Edit' button on the client key
4. Locate the field for the 'Callback URL'. This must match what is submitted with your request. If needed you can also update the URL here as well.