Hi guys,
Has anybody implemented two-factor authentication for login in the front end?
I could use some guidance :)
Thank you,
Adrian
Hi guys,
Has anybody implemented two-factor authentication for login in the front end?
I could use some guidance :)
Thank you,
Adrian
You need to use Azure AD login or similar
Hi Nicolai,
I could probably use that. But then the 2 factor authentication will just be a configuration on Azure AD? Or do I need to add custom logic to it?
Thank you,
Adrian
Hi Adrian
We have done some small login via the azure saml thing directly in a template before, for a closed off section, maybe that can give you some inspiration to get started?
var provider = Dynamicweb.Security.UserManagement.ExternalAuthentication.Provider.GetProviderById(1);
var providerResult = provider?.ExternalLogOnProvider?.GetLoginResult();
if (providerResult?.Success != true || Pageview.User == null){
provider.ExternalLogOnProvider.Login();
}
Hi Claus,
Thank you very much.
It's a lot better than starting with an empty page.
Thank you,
Adrian
You must be logged in to post in the forum