You are here:
Setup OAuth for Snowflake Output
To use the Salesforce Data Pipelines Snowflake output connector with an OAuth connection, you must configure Snowflake, Salesforce, Data Pipelines, an external OAuth authorization server, and an external auth identity provider.
Connect to Snowflake with OAuth
You can’t use a custom authorization provider.
This OAuth architecture is value only for Snowflake virtual private connections.
These high-level instructions help you navigate the steps involved. Remember to contact your Network Security or IT department for help with configuration consistent with your organization’s security requirements.
- Configure Snowflake and your selected external authorization server. Here’s Snowflake's help, with detailed instructions for connecting to services like Okta.
- With the authorization server is configured, follow the steps under Define an
Authentication Provider in Salesforce from Configure an Authentication Provider Using OpenID.
- If you’re using Okta, here are Okta's instructions for adding their service to Salesforce.
- With the authentication provider added to Salesforce, define a named credential in Salesforce. Select the OAuth 2.0 authentication protocol and Named Principal identity type. Use of External Credentials is not supported.
- Add the Snowflake connection. For Authentication Type setting, enter OAuth.
Create an External Auth Identity Provider
- From Setup, in the Quick Find box, enter Named, and then select Named Credentials.
- On the External Auth Identity Provider tab, click
New.

- Enter a label and name.
- For Authentication Protocol, select OAuth 2.0.
- For Authentication Flow Type, select Authorization Code (Browser Flow).
- Use the client ID and client secret values from your Snowflake OAuth app
- For the authorize and token endpoint URLs, provide the values from the Snowflake OAuth Metadata URI details found in the Security APIs section. There should be a separate URL value for each.
- Save your external auth identity provider.
- Open your new external auth identity provider and copy the Callback URL value.

- Use the callback URL value in your Snowflake OAauth application, adding it to the Login values as the callback URL value for a sign-in redirect URI.

