Skip to main content

Single sign-on (SSO): technical overview

Single sign-on uses OpenID Connect to authenticate account users through their identity provider.

Written by Gareth Burroughes
Updated today

Dotdigital's single sign-on, SSO, feature uses a standard called OpenID Connect. When an account user logs in with SSO, an OpenID handshake is initiated with the user's identity provider, IdP. Once the IdP authenticates the user, they're redirected back to Dotdigital, where their details are validated and they're granted access to their account.

Learn more about OpenID on the OpenID connect website.


Set up single sign-on (SSO)

This article focuses on the technical process behind Dotdigital's SSO feature. To learn how to set up SSO, log in to your Dotdigital account and read Set up single sign-on (SSO).

Understand single sign-on

SSO-flow.png

The SSO login process follows these steps

  1. The account user enters their email address into the Dotdigital login form.

  2. The system recognises the account as SSO-enabled and redirects the user to their IdP.

  3. The user is prompted to sign in at their IdP.

  4. The following user details are also requested from the IdP:

    • openid

    • profile

    • email

    • phone

    • offline_access

    After successfully signing in, the IdP sends the user's details to the system.

  5. The user's details are validated using OAuth tokens.

  6. The system then confirms that the user logging in matches the details received. To do this, it checks the user information and ID token provided by the IdP, and matches the email address against one of the following:

  7. After validating the user, the session starts and they're directed to their account dashboard.

Did this answer your question?