Menu
Register Identity Provider
Create or update an identity provider.
PUT
/tenants/{tenantId}/idps/{name}Use it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Register Identity Provider action (under Auth Admin).
- Fill in the fields below, then reference the result from later steps as
{{registerIdentityProvider.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"name": "google",
"authUrl": "https://www.salesforce.com/authorize",
"tokenUrl": "https://www.salesforce.com/token",
"tokenInfoUrl": "https://www.salesforce.com/introspect",
"userInfoUrl": "https://www.salesforce.com/userinfo",
"redirectUrl": "https://www.salesforce.com/idp/callback",
"wellKnownUrl": "https://www.salesforce.com/.well-known/openid-configuration",
"clientId": "934277749308-02dg4398n3s31ofge8cot46jirn3kpkf.apps.googleusercontent.com",
"clientSecret": "aKZM1xEnZopNP2bm2gc3GKex",
"isClientCredsBody": false,
"scopes": [
"oidc",
"email",
"profile"
],
"preferenceValue": true
}
Response
Returns 200 with an object. Read it in later steps with {{registerIdentityProvider.response.data.<field>}}.
{
"name": "google",
"authUrl": "https://www.salesforce.com/authorize",
"tokenUrl": "https://www.salesforce.com/token",
"tokenInfoUrl": "https://www.salesforce.com/inspect",
"userInfoUrl": "https://www.salesforce.com/userinfo",
"redirectUrl": "https://www.salesforce.com/idp/callback",
"clientId": "934277749308-02dg4398n3s31ofge8cot46jirn3kpkf.apps.googleusercontent.com",
"clientSecret": "aKZM1xEnZopNP2bm2gc3GKex",
"isPreferred": true,
"isClientCredsBody": false,
"scopes": [
"oidc",
"email",
"profile"
],
"wellKnownUrl": "https://www.salesforce.com/.well-known/openid-configuration"
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?