Configure a Salesforce Connected Application to Work with SLAS

Learn how the Shopper Login and API Access Service (SLAS) can work with Salesforce as an identity provider (IDP) using OpenID Connect.

  1. Log in to your Salesforce org.
  2. From Setup, in the Quick Find box, enter App, and then select App Manager.
  3. Click New Connected App.
  4. Enter the connected app’s name. The name must be unique within the org.
  5. Enter the API name used when referring to your app from a program. It defaults to a version of the name without spaces. Only letters, numbers, and underscores are allowed. If the original app name contains any other characters, edit the default name.
  6. Enter a contact email.
  7. Click Enable OAuth Settings.
  8. Enter the Callback URL. Example URL: https://$
  9. Add the following OAuth Scopes to the list:
    1. Access your basic information (id, profile, address, phone)
    2. Allow access to your unique identifier (openid)
    3. Full Access
    4. Perform requests on your behalf at any time (refresh_token, offline_access)
    5. Provide access to your data via the web (web)
  10. Click Save.
  11. Click Continue.
  12. Wait while the connected app is deployed.
  13. For Consumer Secret, click Click to reveal.
  14. Copy the Consumer Key and Consumer Secret and save them in a password manager or other secure location.

Now you can create an IDP in SLAS for the Salesforce Connected app. Have the Consumer Key and Consumer Secret that you copied earlier handy.

Using the SLAS Admin UI or the SLAS Admin API, create a Salesforce IDP in SLAS. For more information about the API, see Authorization for Admin APIs and the SLAS Admin API reference.

Example request: