diff --git a/docs/docs/platform/managed-auth.mdx b/docs/docs/platform/managed-auth.mdx index c4572e1ae..f236f6eef 100644 --- a/docs/docs/platform/managed-auth.mdx +++ b/docs/docs/platform/managed-auth.mdx @@ -43,17 +43,10 @@ You can expose an Embedded Link in your application as a link or button so your #### Embedded Link -An Embedded Link has the following form: +An Embedded Link has the following format: - - - - -> `https://api.supaglue.io/oauth/connect?applicationId={APPLICATION_ID}&customerId={CUSTOMER_ID}&providerName={PROVIDER_NAME}&returnUrl={RETURN_URL}` +`https://api.supaglue.io/oauth/connect?applicationId={APPLICATION_ID}&customerId={CUSTOMER_ID}&providerName={PROVIDER_NAME}&returnUrl={RETURN_URL}` - - - **Query parameters:** diff --git a/docs/docs/providers/salesforce.mdx b/docs/docs/providers/salesforce.mdx index f1320abe7..474e2b86f 100644 --- a/docs/docs/providers/salesforce.mdx +++ b/docs/docs/providers/salesforce.mdx @@ -91,3 +91,13 @@ Supaglue provides a redirect URL to send information to your app. To add the red ``` id,api,refresh_token ``` + +## Managed authentication + +There are two types of Salesforce orgs you can connect to: Production and Sandbox. + +Production orgs are intended for production usage. Your customers may also have sandbox orgs containing partial or test data. Enterprise Salesforce customers sometimes choose to test the initial integration with your application before going live with their production Salesforce org. + +Salesforce uses different [identity URLs](https://help.salesforce.com/s/articleView?id=sf.remoteaccess_using_openid.htm&type=5) for accessing production versus sandbox orgs. The identity URL for production orgs is `https://login.salesforce.com`, whereas the identity URL for sandbox orgs is `https://test.salesforce.com`. + +Supaglue lets you connect to both types of Salesforce orgs by configuring the [Embedded Link](/platform/managed-auth/#embedded-link) (or alternatively using our hosted Magic Link). Be sure to pass in the `loginUrl` parameter in the Embedded Link when connecting to sandbox orgs (by default it will assume you are connecting to a production org). \ No newline at end of file