Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Chris Evans 137 posts 353 karma points c-trib
    Mar 30, 2021 @ 04:10
    Chris Evans

    Azure Easy Auth with Umbraco 8

    Hi all,

    Using this excellent blog post from Shannon we are able to make Umbraco 7 work properly behind Azure Easy Auth (AAD) :

    However, we want to achieve the same result on Umbraco 8 and the code examples do not work in this version.

    Specifically, this part:

    public class MyOwinStartup : Umbraco.Web.UmbracoDefaultOwinStartup
        protected override void ConfigureUmbracoAuthentication(IAppBuilder app)
                .UseUmbracoBackOfficeCookieAuthentication(ApplicationContext, PipelineStage.PostAuthenticate)
                .UseUmbracoBackOfficeExternalCookieAuthentication(ApplicationContext, PipelineStage.PostAuthenticate)
                .UseUmbracoPreviewAuthentication(ApplicationContext, PipelineStage.Authorize);

    Has anyone managed to achieve this in Umbraco 8, and are they able to post the translated code or links to any documentation that explains what properties and methods we need to set for the backoffice to work under AAD?

    Thanks, Chris

Please Sign in or register to post replies

Write your reply to: