Auth0 Authentication Example
This is a quick guide on setting up Backoffice authentication with Auth0.
Last updated
Was this helpful?
This is a quick guide on setting up Backoffice authentication with Auth0.
Last updated
Was this helpful?
In this example, you will need the following NuGet package
Setting up Ucommerce backoffice with Auth0 requires you to set up an external authentication scheme and when calling .AddBackOffice()
To set up the authentication, use a helper method from the Auth0 package to add all the required services via the . We highly recommend looking into some of these methods, as they do much of the groundwork to set up OpenID.
When the application is created, update appsettings.json
to keep track of Domain
and ClientId
.
Remember to create your to map the claims from Auth0 to Ucommerce.
Create your application in the .
For further guidance on setting up Auth0, we recommend the .