TIL Auth0 Code Samples: SAML Service Provider on laptop in 10 minutes

The code samples provided by Auth0 (and the accompanying documentation) are excellent! I was able to spin up an app to act as an SP (Service Provider) on my laptop. Users in the generous Auth0 tier are able to log in.

The tutorial I followed is:

The sample repo spins up an SPA (Single Page Application) and are available here:


In this scenario:

  • IdP - Identity Provider --> Auth0 plays this role
  • SP - Service Provider --> The full-stack app we deploy plays this role.

Our app will generate SAML Requests. The SAML Response will come from Auth0 and will contain the assertion of the user.

TIL SLO stands for Single Logout.


ℹ️ About this TIL snippet: Created 2022-12-11T00:27:40-05:00 · View the source