Use the PUT /ccadmin/v1/samlIdentityProviders/default endpoint to upload the identity provider entity descriptors to Commerce Cloud, and to map assertion attributes to profile properties. This mapping enables automatic creation of shopper profiles in Commerce Cloud.

The request body includes the following properties:

For example:

PUT /ccadmin/v1/samlIdentityProviders/default  HTTP/1.1
Authorization: Bearer <access_token>

{
  "loginAttributeName": "uid",
  "emailAttributeName": "email",
  "encodedIdpMetadata": "<identity provider entity descriptor>",
  "requiredAttributeToPropertyMap": {
    "uid": "login",
    "email": "email"
  },
  "optionalAttributeToPropertyMap": {
    "fName": "firstName",
    "lName": "lastName"
  }
}

Copyright © 1997, 2017 Oracle and/or its affiliates. All rights reserved. Legal Notices