Single Sign-On with Auth0 in Sitecore
Kate Orlova
Head of Solutions Architecture at UNRVLD. 6x Sitecore MVP 2020-25. Sitecore Certified: XM Cloud, 10, 9, 8, 6 Developer. Microsoft Certified: Azure Solutions Architect Expert. Contentful Certified Professional.
In a recent article I explained an importance of the Single Sign-On (SSO) authentication on today’s websites and now would like to share with you a practical example.
This blog post will teach you about how to setup Auth0 identity management platform and integrate it with your Sitecore sites.
Integration approach
There are two common ways to implement authentication for a Sitecore application with Auth0:
The Universal Login is more secure than the Embedded Login, it is safe and easy to implement, and this is the recommended option by Auth0. ?
Following to Auth0’s recommendation I use the Universal Login option with a New Lock template, read more here. This approach allows me to get most of the out-of-the-box features, specifically registration and login with social accounts, and supports some styling and customisation to make it look like my Sitecore layout.
A typical integration flow between Auth0 and Sitecore consists of the following steps:
To be continued...