Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am integrating my Umbraco Site with Azure Active Directory.
for backend login, I am using following link
for member login, I am using following link
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
public class UmbracoIdentityOwinStartup : UmbracoIdentityOwinStartupBase
readonly string TenantID = ConfigurationManager.AppSettings["azureAd:tenantId"];
readonly string ClientID = ConfigurationManager.AppSettings["azureAd:clientId"];
readonly string redirectUrl = ConfigurationManager.AppSettings["FrontEndRedirectUrl"];
readonly string BackendredirectUrl = ConfigurationManager.AppSettings["BackEndRedirectUrl"];
protected override void ConfigureUmbracoUserManager(IAppBuilder app)
// This is additional line
**app.ConfigureBackOfficeAzureActiveDirectoryAuth(TenantID, ClientID, BackendredirectUrl, new Guid(TenantID));**
Rest of Code is same.
As result of combination,
I need guidance from experts on how to solve this
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted