Show examples in:
Javascript HTTP

Content Management API > SSO User

SSO User

A Single Sign-On user exists when a DatoCMS project is connected to an external Identity Provider. An SSO user will not use the standard login procedure but has to go through SAML authentication. It can also be linked to one or more IdP groups.

Object payload

id string

ID of user

Example: "312"
type string

Must be exactly "sso_user".

attributes.username string

Email

Example: "mark.smith@example.com"
attributes.external_id string, null

Identity provider ID

Example: "Ja23ekjhsad"
attributes.is_active boolean

Whether this user is active on the identity provider. De-activated users won't be able to login.

attributes.first_name string, null

First name

Example: "Mark"
attributes.last_name string, null

Last name

Example: "Smith"
meta.last_access

Date of last reading/interaction

Type: date-time, null
Example: "2018-03-25T21:50:24.914Z"
relationships.groups.data

All the users's groups

relationships.role.data

The user role

Available endpoints