Show examples in:
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
type  string
Must be exactly "sso_user"
username  string  Example: "mark.smith@example.com"

Email

external_id  string, null  Example: "Ja23ekjhsad"

Identity provider ID

is_active  boolean

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

first_name  string, null  Example: "Mark"

First name

last_name  string, null  Example: "Smith"

Last name

meta.last_access  date-time, null  Example: "2018-03-25T21:50:24.914Z"

Date of last reading/interaction

groupsArray of { type: "sso_group", id: sso_group.id }

All the users's groups

role{ type: "role", id: role.id }, null

The user role

Available endpoints