Copied to clipboard

Flag this post as spam?

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


  • Nigel Brown 16 posts 36 karma points
    May 08, 2018 @ 13:32
    Nigel Brown
    0

    Umbraco Backoffice Login with Auth0

    I have been tying to setup an Auth0 login for Umbraco Back office, based around Identify Extensions https://github.com/umbraco/UmbracoIdentityExtensions

    I can get the examples to work with Google and Microsoft Active Directory, but when I try with Auth0 it doesn't work as expected.

    I have added "Auth0-ASPNET-OWIN" Middleware https://github.com/auth0/auth0-aspnet-owin

    Once I login to Umbraco I can "link" the Auth0 Account. All connects ok and stores an entry int he umbracoExternalLogin, the login provider is "LOCAL_AUTHORITY", and the key contains "Auth|**"

    I would expect the loginprovider to be "auth0". Google > "Umbraco.Google" AAD > "https://sts.windows.net/**"

    I was wondering if there were any pointers on how to get Auth0 working with Umbraco Back office. thanks.

  • Fabian 23 posts 103 karma points
    Jul 02, 2018 @ 15:33
    Fabian
    0

    Hi Nigel, you solved your issue? I'm struggling with nearly the same problem and couldn't find any solution till now.

    Cheers fabian

  • Nigel Brown 3 posts 73 karma points
    Jul 17, 2018 @ 18:22
    Nigel Brown
    0

    Hi Fabian, I didn't in the end get it working with Auth0. I could get it to work with Google & Facebook, but I wanted a non - social networking solution.

    I went back to using Microsoft Login via Azure Active Directory. I got it working with both the B2B version and the B2C version.

    I concluded that Umbraco just wasn't compatiable with Auth0. I ran some tests with Auth0 and asp.net membership outside Umbraco and it works as expected.

    Hope you got it sorted & sorry for delay replying back to you.

    regards Nigel

  • Fabian 23 posts 103 karma points
    Jul 18, 2018 @ 09:13
    Fabian
    0

    Hi Nigel, thanks for your answer . I also had no luck till now and maybe switching from (not working) Auth0 to Microsoft...

    regards fabian

  • Nigel Brown 3 posts 73 karma points
    Jul 18, 2018 @ 09:20
    Nigel Brown
    0

    Hi Fabian, yes it was a lot easier with Microsoft, but theoretically it should have worked with Auth0, I just think Auth0 uses some form of different protocols not compatible with Umbraco, despite the ability of Umbraco to allow for customisation of authentication.

    best of luck..

Please Sign in or register to post replies

Write your reply to:

Draft