Copied to clipboard

Flag this post as spam?

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


  • elvar 1 post 71 karma points
    May 09, 2017 @ 12:41
    elvar
    0

    Umbraco with Azure AD authentication (Frontend)

    Has anyone setup Umbraco hosted in azure with Azure AD authentication for frontend (members), and also but not necessary umbraco backend.

    Every method I have tried brakes access to Umbraco backend.

    Any info on a sample project or guide that works would be great :)

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    May 09, 2017 @ 16:18
    Dennis Aaen
    0

    Hi Elvar and welcome to Our.

    Have you seen the documentation about UmbracoIdentity if not then try to have a look at https://github.com/Shazwazza/UmbracoIdentity

    Also have a look here https://shazwazza.com/post/aspnet-identity-for-umbraco/ and https://umbraco.com/blog/configuring-aspnet-identity-oauth-login-providers-for-multi-tenancy/

    Hope this helps,

    /Dennis

  • Chris Wilson 100 posts 377 karma points
    May 09, 2017 @ 16:55
    Chris Wilson
    0

    Following this thread as I'm currently attempting to integrate Azure AD B2C with UmbracoIdentity - so far unsuccessfully.

    /Chris

  • Sahar 10 posts 79 karma points
    Dec 22, 2017 @ 10:55
    Sahar
    0

    I have successfully implemented External Service (Google & Facebook) Login for "Members" i.e. front end of my Umbraco website.

    I have used https://github.com/Shazwazza/UmbracoIdentity package. The only thing is that the documentation is not complete and I had to scour the internet to get the correct facebook and google Authentication Options and a few changes in the code to get things work.

    In the end, I have got things sorted. Plz let me know if anyone wants the code sample.

    best of luck.

  • Al 8 posts 53 karma points
    Apr 16, 2018 @ 14:02
    Al
    0

    Hi Sahar, that would be great. I've got Twitter working fine but would like to add Facebook and Google and I'm struggling to get those working properly. (I had it working on older versions of UmbracoIdentity but am in the process of upgrading everything to latest and this is the last bit that I'd like to sort out.

    Much appreciated.

    -> Update to this, I've got facebook working, it's just google i'm struggling with.

     app.UseTwitterAuthentication(new TwitterAuthenticationOptions
            {
                ConsumerKey = "XXX",
                ConsumerSecret = "XXX",
                CallbackPath = new PathString("/umbraco/surface/UmbracoIdentityAccount/ExternalLoginCallback/"),
                BackchannelCertificateValidator = new CertificateSubjectKeyIdentifierValidator(new[]
              {
                    "A5EF0B11CEC04103A34A659048B21CE0572D7D47", // VeriSign Class 3 Secure Server CA - G2
                    "0D445C165344C1827E1D20AB25F40163D8BE79A5", // VeriSign Class 3 Secure Server CA - G3
                    "7FD365A7C2DDECBBF03009F34339FA02AF333133", // VeriSign Class 3 Public Primary Certification Authority - G5
                    "39A55D933676616E73A761DFA16A7E59CDE66FAD", // Symantec Class 3 Secure Server CA - G4
                    "5168FF90AF0207753CCCD9656462A212B859723B", //DigiCert SHA2 High Assurance Server C‎A 
                    "B13EC36903F8BF4701D498261A0802EF63642BC3" //DigiCert High Assurance EV Root CA
                })
            });
     app.UseFacebookAuthentication(new FacebookAuthenticationOptions
            {
                AppId = "XXX",
                AppSecret = "XXX",
                CallbackPath = new PathString("/umbraco/surface/UmbracoIdentityAccount/ExternalLoginCallback")
            });
    

    Are working okay. But no joy with Google.

Please Sign in or register to post replies

Write your reply to:

Draft