I am working with an ASP.NET MVC 5
web application. I need to provide the users to login with their LinkedIn
accounts. MVC 5 provides the support for Login with Facebook, Google. But I don't have a clear idea of how to implement this with LinkedIn.
There isn't any Katana support for LinkedIn in MVC 5. What would be the approach should I take to implement this specific behavior in MVC 5? Any suggestions would be greatly appreciated. Thanks.
This isn't specific to MVC 5, but there's a couple of links here on how to implement LinkedIn oAuth.
Custom oAuth LinkedIn Provider
DotNetOpenAuth for MVC
, using LinkedIn
Also, I just came across this on SO, LinkedIn full profile details using DotNetOpenAuth in MVC4
As some time has passed since the OP, a more straightforward solution IMHO is to use to the Owin.Security.Providers
NuGet package.
Once the package is added to your solution, the use of LinkedIn as a provider is very easy as explain on the author blog.
And, on top of the fact that the project is open sourced, the bonus is that you get at the same time the support for other authentication providers such as GitHub, Yahoo or StackExchange :o)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With