younifyd
Menu

Create Sharepoint Authentication Provider

Create SharePoint claims authentication provider

POST/rest/organizations/{organizationId}/authentication/sharepoint

Use it in a workflow

  1. Add a step and choose the Coveo connector.
  2. Pick the Create Sharepoint Authentication Provider action (under Search).
  3. Fill in the fields below, then reference the result from later steps as {{createSharepointAuthenticationProvider.response.data}}.

Request

Path parameters

organizationIdstringrequired

The unique identifier of the target Coveo Cloud organization.

Request body

Enter the body as JSON in the step's Body field.

enforceTrustedUrisboolean

Default true

expirationinteger (int32)required

The amount of time (in milliseconds) the browser cookie that stores the claims information should last. Setting this property to `0` expires the cookie when the browser session ends. **Note:** > When cookies aren't supported by your browser, a JWT token will be used instead. For JWT tokens, the expiration > must be between 15 minutes and 24 hours. Any value outside of these limits will be capped, with the exception of a 0 value > which will be converted to the longest supported value (24 hours).

namestringrequired

The name of this SharePoint claims authentication provider.

providerstringrequired

The name of the security identity provider which is associated to your SharePoint source in your Coveo Cloud organization.

secretstring

The string to use when signing claims information. This should be a random string. The longer the string, the safer.

uristringrequired

The URI of the page that serves the claims information for this SharePoint server. **Note:** > This page is part of the Coveo SharePoint integration. You must install this package on your SharePoint server if you want to implement claims authentication in a search page (see [Installing the Coveo Web Service, Search Box, and Search Interface into SharePoint](http://www.coveo.com/go?dest=adminhelp70&lcid=9&context=4218)).

json
{
  "expiration": 86400000,
  "name": "My SharePoint Claims Authentication Provider",
  "provider": "My SharePoint Server Security Identity Provider",
  "uri": "https://hostname.com/_layouts/CES/SearchApiClaims.aspx",
  "enforceTrustedUris": true,
  "secret": "k7dbdcu3HMTtdcRtZzx4uLvKB&T9kG8O12cQ2vOcaWiNmerw3RLQLpcCAnPL8wN"
}

Response

Returns 200 with an object. Read it in later steps with {{createSharepointAuthenticationProvider.response.data.<field>}}.

idstring

The unique identifier of this SharePoint claims authentication provider.

json
{
  "id": "beffaaed-1c4b-44c0-ad9a-ce95b9b169e5"
}

Need more? See the Coveo guide for connection setup and behaviour shared by every action.