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.
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 CA
"B13EC36903F8BF4701D498261A0802EF63642BC3" //DigiCert High Assurance EV Root CA
})
});
app.UseFacebookAuthentication(new FacebookAuthenticationOptions
{
AppId = "XXX",
AppSecret = "XXX",
CallbackPath = new PathString("/umbraco/surface/UmbracoIdentityAccount/ExternalLoginCallback")
});
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 :)
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
Following this thread as I'm currently attempting to integrate Azure AD B2C with UmbracoIdentity - so far unsuccessfully.
/Chris
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.
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.
Are working okay. But no joy with Google.
is working on a reply...