Last post Oct 18, 2014 08:32 PM by wavemaster
Oct 18, 2014 06:43 AM|hardweezy|LINK
How do i Implement third-party login authentication like Google, Facebook and Twitter into my application at (Login or SignUp)..
Oct 18, 2014 07:30 AM|wavemaster|LINK
The starter site template has a rough implementation of OAuth or OpenId.
Oct 18, 2014 07:39 AM|hardweezy|LINK
The website has to activate SSL before OAuth or OpenID would work right?
Oct 18, 2014 07:44 AM|Rion Williams|LINK
There are quite a few different options that you might be referring to, so I'll try to address each of them below :
Social / OAuth Authentication
If you wanted to use Facebook or other Social sites to handle logging in, you might favor something like the SocialAuth library. It features easy-to-use wrappers for nearly all of the major "social"
sites as well as other major networks such as Gmail, Twitter, Facebook, Yahoo, MSN, LinkedIn and more.
You can see a few examples demonstrating this below :
Some of the newer ASP.NET templates offer some basic utilities for implementing third-party authentication to your applications as
mentioned in this ASP.NET OAuth example.
Using Site-Specific APIs and SDKs
Each of the sites that you mentioned has their own specific APIs for interacting with the sites and using them can allow you to take advantage of many of the features that each API offers (such as logging in / out).
With regards to Facebook, I would recommend visiting the Facebook documentation for .NET linked below:
It features a fairly straight forward walk-through that can be found on the Getting Started area, which should have everything that you need to hook into Facebook to view and post content from
your application and a few other examples that may be worth looking into. It contains information about logging in and authenticating within Facebook that might be helpful.
Facebook also features a jQuery-based API that can be used much like the previously mentioned .NET SDK and might be better suited to handle your particular situation :
Google recently released their .NET Client Library which allows developers to access various Google-specific applications like Gmail and Google Calendars through their .NET applications. You can read
more about using this library here.
Similar to the other sites, Twitter also has an available API and SDKs that can be found at the Twitter Developers site, which should cover just about everything that you would need to do to interact with Twitter. There
are also other libraries out there like LINQ-to-Twitter which can be used to leverage LINQ within .NET to query Twitter.
Oct 18, 2014 08:32 PM|wavemaster|LINK