Troubleshooting OAuth Errors
In cases where there is a configuration mismatch between the External OAuth Provider in Service Board and the Connected App in Salesforce, users see the following error message when they try to log into Service Board:
error=redirect_uri_mismatch&error_description=redirect_uri%20must%20match%20configuration
To troubleshoot OAuth errors:
1. On the Salesforce Setup page, in the left pane, in the Build section, under the Create subnode, click Apps, and then on the Apps page, in the Connected Apps section, click ServiceMax Service Board Single Sign-On.
2. On the Connected App page, in the API (Enable OAuth Settings) section, verify that the Callback URL field contains a valid URL in the format https://<tenant_domain_name>/oauth, for example, https://myserviceboard.eu.servicemax.io/oauth.
3. If the URL value is correct, in
Max Admin, on the
System Management (
) launchpad menu, expand the
System Management section and click
External OAuth Providers, and then in the list view, click to open the currently active record.
4. Copy and paste the following field values from the Salesforce Connected App into the following fields on the Service Board record page.
Salesforce Field | Service Board Field |
---|
Consumer Key | Client ID |
Consumer Secret | Client Secret |
5. Verify that the following fields have a valid URL that contains the domain of your Salesforce org.
◦ Authorization URL
◦ Access Token URL
◦ User Profile URL
◦ Logout URL
For more information: