Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Example
Code Block
titleTesting the setup
languagetext
https://platform.cloud.coveo.com/rest/search/login/mySAMLAuthenicationProvider?access_token=wmLwtZwHv3LUf5W4G7X22PRjmROfyfOigdi-rnohxyeLw_9OldOGEeK3N-DBZZZydmjA1JWZ...
Show If
matchactionalledit

Assigning More Than One Organization to Your Identity Provider

If you manage more than one Coveo Cloud V2 organization and have implemented SAML authentication for one of them, you might want to associate your other organization with your SAML authentication provider.

BLOCK

You have Coveo Cloud production and sandbox organizations, and want them to have an identical SAML authentication setup for testing purposes.

To associate another organization with your SAML authentication provider, first retrieve a list of the available organizations, and then update the target organization with the SAML authentication parameters.

  1. Ensure that the identity you entend to use to perform the following Coveo Cloud V2 API calls is a member of a group hat has a View Organization and an Edit SAML identity provider privilege in both organizations (see Edit a Group: [GroupName] - Panel).
  2. Ensure the SAML authentication configuration works as expected with your firts Coveo Cloud organization by testing your setup (see  and ). 
  3. Send a GET request to https://platform.cloud.coveo.com/rest/organizations/{organizationId}/saml/availables where you replace {organizationId} by the ID of your first Coveo Cloud V2 organization (see ).  
    A successful request returns a Status 200 containing the SAML authentication parameters for the specified organization and, and if any, other organizations using the same SAML autentication setup. The response body of your GET request should look like the following example.

    BLOCKTypical Response Body of a SAML Authentication Provider GET Request
  4. Using the GET request response body, fill the body of a PUT request to https://platform.cloud.coveo.com/rest/organizations/{organizationId}/saml/identityprovider where you replace {organizationId} by the ID of your other Coveo Cloud V2 organization  (see ). 
    In the PUT request body, ensure to include the ID for both your first and your second organization. The organization displayName, however, is not required. The body of your PUT request should look like the following example.

    BLOCKTypical Body of a SAML Authentication Provider PUT Request

    A successful request returns a Status 200 containing the parameters you entered in the request body and your second organization is updated.

  5. Test the SAML authentication setup in the updated organization.