Hi everyone! What is the callback I need to setup ...
# ask-ai
g
Hi everyone! What is the callback I need to setup in the Salesforce app in order to make Airbyte 1.4.0 be able to connect? I’m getting
Copy code
error=redirect_uri_mismatch&error_description=redirect_uri%20must%20match%20configuration
I’m testing Airbyte 1.4.0 locally on port 8000 and currently I’ve tried the following callback urls: • http://localhost:8000/auth_flow/http://localhost:8000/auth_flow what is the correct one?
k
Based on the knowledge sources provided, I can answer your question about the correct callback URL for connecting Salesforce to Airbyte 1.4.0 running locally. For Airbyte Open Source (which is what you're using when running locally), the correct callback URL format for Salesforce is:
Copy code
<http://localhost:8000/auth/realms/airbyte/broker/<app-integration-name>/endpoint>
Where
<app-integration-name>
is the name you gave to your Salesforce app integration when setting it up. This should be a URL-friendly name without spaces or special characters. This information comes from the [Setup Single Sign-On via Microsoft Entra ID](https://docs.airbyte.com/access-management/sso-providers/azure-entra-id#creating-an-entra-id-app-for-airbyte-1) documentation, which provides guidance on setting up SSO that is applicable to Salesforce as well. The URLs you've tried (
<http://localhost:8000/auth_flow/>
and `http://localhost:8000/auth_flow`) are not correct for Airbyte 1.4.0. To resolve the
error=redirect_uri_mismatch
error, you should: 1. Go to your Salesforce app settings 2. Update the callback URL to match the format provided above 3. Make sure the
<app-integration-name>
part matches exactly what you've set in your Airbyte configuration If you continue to have issues after making this change, you may need to review your Salesforce app configuration and Airbyte setup to ensure all other settings are correct.