November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Worked it out: Commerce needs to use Asp.NET Identity only
For consistency, I've used the Commerce DB for all users created via Asp NET identity
We're trying to implement a mixed mode authemtication scenario where CMS Editors/Admins login using Azure AD, but Commerce Customers log in using the Commerce database.
Our Startup.cs for the EPiServer CMS is as follows:
In the CMS site's web.config, we've set the authentication mode to "none" and disabled the membership and rolemanager settings.
This works fine when browsing to /episerver - the user is redirected to the authenticaiton provider and once logged in successfully is redirected to the episerver back-end.
Similarly, if a customer logs in to the site at the /Login page, they are prompted for their username and password and can log in OK.
However, when I click the Commerce Manager link in the back-end, I'm prompted to log in using the standard Commerce Admin login page even though my user is a member of the virtual role Commerce Admins - is this correct?
I assume that for Commerce Customers to log in, the Commerce Manager site needs to retain the SQL Server membership and role provider settings, but is it possible to disable authentication for the Commerce Manager site so we don't need to log in to the Commerce Manager back-end?
If so, do I need to provide the same/similar Startup.cs for the Commerce Manager site?
There seems to be some interaction between the MediaChase assemblies and the login porcess that I need to override, but it's not clear what...