Skip to content

Single sign-on (SSO)

nps.today supports single sign-on (SSO) with Microsoft. Users sign in to app.nps.today with their Microsoft work account by clicking Sign in with Microsoft, instead of typing an nps.today password.

At a glance

  • Identity provider: Microsoft, through the Microsoft Authentication Library (MSAL)
  • Where users sign in: the Sign in with Microsoft button on the app.nps.today sign-in page
  • Requirement: the user must already exist in nps.today. See Add a user.
  • Make SSO mandatory: see Login settings for your organization

How sign-in with Microsoft works

Single sign-on in nps.today follows these steps:

  1. The user clicks Sign in with Microsoft on the app.nps.today sign-in page.
  2. If the user is not already signed in to Microsoft, they are sent to the Microsoft sign-in page. The Microsoft password is entered on Microsoft's page.
  3. Microsoft sends the user back to app.nps.today with a signed token. nps.today checks that the token was issued by Microsoft, that it is meant for nps.today, and that it has not expired.
  4. nps.today matches the Microsoft account to an existing nps.today user.
  5. The user is signed in to nps.today with the permissions that user has in nps.today.

If single sign-on fails

These are the two common reasons that sign-in with Microsoft fails in nps.today:

  • The Microsoft account does not match an nps.today user. The sign-in fails. An administrator must add the user in nps.today first. See Add a user.
  • The Microsoft session is invalid or has expired. The user is asked to sign in with Microsoft again.