Bridge Smartsheet Salesforce integration - redirect uri mismatch

Neil Egsgard
Neil Egsgard ✭✭✭✭✭
edited 06/21/23 in Add Ons and Integrations

Hello,

I am trying to setup the Bridge Smartsheet Salesforce integration. I have followed the Smartsheet provided instructions at https://help.smartsheet.com/articles/2482029-salesforce-integration-overview-bridge to setup the Salesforce Connected App. I get the redirect uri mismatch error which says the redirect uri must match configuration. I get the same error for Salesforce production and sandbox environments. I have contacted Smartsheet support but they have not been useful so far. Screenshots are below. Does anyone know how to resolve this issue?

Neil

Bridge Salesforce integration setup

The top field is the Salesforce Connected App Consumer Key. The bottom field is the Salesforce Connected App Secret Key.

I have confirmed they are correct and for the production Salesforce instance.

Salesforce error when trying to connect Bridge Salesforce integration

This error appears when I try to connect the above Bridge integration.


Salesforce Connected App setup

Smartsheet Connected App settings in Salesforce


Best Answer

  • Neil Egsgard
    Neil Egsgard ✭✭✭✭✭
    Answer ✓

    I solved the problem. A few key points:

    1. The Callback URL in the instructions in Smartsheet Bridge - Salesforce Integration Overview is wrong.
    2. The correct Callback URL is:  https://system.converse.ai/api/settings/oauth/oauth2callback
    3. I was able to analyze the error message to determine the correct redirect URI which is also the required Callback URL.

    Details of the solution

    How I found the solution

    I determined the correct Callback URL by analyzing the Salesforce error that popped up when I clicked Connect on the Bridge.

    What I clicked to generate the error

    Resulting error message

    I pulled the redirect URI from the message and added it to the Callback URL field in the Salesforce Connected App and that worked. See the second highlighted string.

    Screenshot of correct settings for the Salesforce Connected App

    Callback URL that works is:

    https://system.converse.ai/api/settings/oauth/oauth2callback

    Neil

Answers

  • Neil Egsgard
    Neil Egsgard ✭✭✭✭✭
    Answer ✓

    I solved the problem. A few key points:

    1. The Callback URL in the instructions in Smartsheet Bridge - Salesforce Integration Overview is wrong.
    2. The correct Callback URL is:  https://system.converse.ai/api/settings/oauth/oauth2callback
    3. I was able to analyze the error message to determine the correct redirect URI which is also the required Callback URL.

    Details of the solution

    How I found the solution

    I determined the correct Callback URL by analyzing the Salesforce error that popped up when I clicked Connect on the Bridge.

    What I clicked to generate the error

    Resulting error message

    I pulled the redirect URI from the message and added it to the Callback URL field in the Salesforce Connected App and that worked. See the second highlighted string.

    Screenshot of correct settings for the Salesforce Connected App

    Callback URL that works is:

    https://system.converse.ai/api/settings/oauth/oauth2callback

    Neil