Microsoft Entra ID Example
This is a quick guide on setting up Backoffice authentication with Microsoft Entra ID.
Last updated
Was this helpful?
This is a quick guide on setting up Backoffice authentication with Microsoft Entra ID.
Last updated
Was this helpful?
In this example, you will need the following NuGet packages
Setting up Ucommerce backoffice with Microsoft Entra ID requires you to set up an external authentication scheme when calling .AddBackOffice()
To set up the authentication, use a helper method from the above packages to add all the required services to the . We highly recommend looking into some of these methods, as they do much of the groundwork to set up OpenID.
Remember to create your to map the claims from Azure to Ucommerce.
Follow from Microsoft to set up your Azure App and appsettings.json
. After following the guide, appsettings.json
should look something like this
Notice that the sources in ClientCertificates
may change between environments.
See the documentation for details.