v1

latestOpenAPI 3.0.22026-07-17373198641.7 KB
users
v1

Authenticate user (register first if the profile doesn't exist) via Microsoft office365 in CLM.

The login algorithm is next:

  1. Redirect to microsoft auth page https://login.microsoftonline.com/consumers|common/oauth2/v2.0/authorize with correct client_id, redirect_url, response_type, and scope;
  2. After microsoft auth user will be redirected to callback url;
  3. Pass the code from query params to this endpoint.
post/api/v1/users/office365/

Request body

codestring required

Example request

{
  "code": "code"
}

Response

access_tokenstring
codestring
id_tokenstring

Example response

{
  "access_token": "access_token",
  "code": "code",
  "id_token": "id_token"
}