Umbraco 8: External Login Providers
# help-with-umbraco
w
I need some guidance on SSO - the client wants to use their Office 365 email account(s) to be able to sign into Umbraco backend. I believe Umbraco Cloud supports this, I was sent this link by someone from Umbraco https://docs.umbraco.com/umbraco-cms/reference/security/external-login-providers I've selected Microsoft and tried installing the package via NuGet through Visual Studio. [https://www.nuget.org/packages/Microsoft.AspNetCore.Authentication.MicrosoftAccount/] This is the first time I am doing something like this and don't even know where to start. I'm already getting this error;
Copy code
NuGet\Install-Package : Could not install package 'Microsoft.AspNetCore.Authentication.MicrosoftAccount 7.0.10'. You are trying to install this package into a project that targets 
'.NETFramework,Version=v4.7.2', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
At line:1 char:1
+ NuGet\Install-Package Microsoft.AspNetCore.Authentication.MicrosoftAc ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Do I need to change the target framework in my local Umbraco 8 project? If so, how do I do this? I feel a little lost here 😕
o
Hi Javed, The documentation you where sent is for Umbraco 12, which is built on .NET 7 (aka .Net Core), whereas Umbraco 8 is built on .NET Framework, so the packages mentioned there will not work with your Umbraco 8 project. The documentation for Umbraco 8 can be found here: https://our.umbraco.com/Documentation/Reference/Security/External-login-providers/ I did find this YouTube video of someone adding a Google Login to Umbraco 8, I know it's not Office 365, but it might be useful nonetheless:

https://www.youtube.com/watch?v=OO9WFeWr5yw&ab_channel=JohnBlairâ–¾

w
Thanks @Owain Jones - I'll take a look at this in the evening 🙂
4 Views