users
v1
POST /api/v1/users/office365/
Changed onAuthenticate user (register first if the profile doesn't exist) via Microsoft office365 in CLM.
The login algorithm is next:
- 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;
- After microsoft auth user will be redirected to callback url;
- Pass the code from query params to this endpoint.
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"code": "code"
}Response
Example response
{
"access_token": "access_token",
"code": "code",
"id_token": "id_token"
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking