Finally I was able to solve the issue. In my case I was creating both providers with the same AuthenticationType.
Once I changed one of the Authentication Types it worked.
//Need to set the auth type as the issuer path
adOptions.AuthenticationType = string.Format(
System.Globalization.CultureInfo.InvariantCulture,
"https://sts.windows.net/{0}/",
new Guid());
unable to combine Front-end and Back-end Authenticator
Hi,
I am integrating my Umbraco Site with Azure Active Directory.
for backend login, I am using following link
https://shazwazza.com/post/configuring-azure-active-directory-login-with-umbraco/
for member login, I am using following link
https://shazwazza.com/post/configuring-azure-active-directory-login-with-umbraco-members/
Both these solutions are great and working perfectly in two different project.
Now, I want to combine them in one project and have one start up class (say UmbracoIdentityStartup instead of UmbracoStandardOwinStartup)
This works only for front-end login
Then I have combined the code to have in UmbracoADAuthExtensions.cs like
Rest of Code is same.
As result of combination,
I need guidance from experts on how to solve this
Hello,
I'm facing the same issue.
Is there any way to merge both solutions and authenticate the frontend and the backoffice using Azure Active Directory?
Any help would be much appreciated.
Finally I was able to solve the issue. In my case I was creating both providers with the same AuthenticationType.
Once I changed one of the Authentication Types it worked.
Hope this solution helps someone.
is working on a reply...