socialauth-net


.NET Library for authentication, getting profile and contacts, updating status on Google, Yahoo, Facebook and other providers.

http://socialauth-net.googlecode.com/svn/wiki/images/banner.png

Release Update

SocialAuth.Net 2.4.1 released on 8/May/2014 download

Issues Fixed in v2.4.1.0

- Fixed Issue 199: Twitter endpoints updated (Twitter Blocker)
- Issue with getting profile for Yahoo fixed
- Issue with parsing profile for Google fixed
- In case of windows authentication, explicit returnUrl wasn't respected. This is fixed.
- Fixed Issue 195: https in Google contacts endpoint
- Fixed Issue 198: MSN profile issue when image is null


http://socialauth-net.googlecode.com/svn/wiki/images/nuget.png

Facing trouble in trying demo application? Checkout following video!
http://www.youtube.com/watch?feature=player_embedded&v=FOaUAKaSg0k' target='_blank'>http://img.youtube.com/vi/FOaUAKaSg0k/0.jpg' width='425' height=344 />

http://code.google.com/p/socialauth-net/issues/entry'>Suggest a feature!

http://labs.3pillarglobal.com/socialauthdemo-net/default.aspx'>http://socialauth-net.googlecode.com/svn/wiki/images/btn-try-demo.png' />

What is SocialAuth.NET?

SocialAuth.NET is a .NET port of popular http://code.google.com/p/socialauth/'>Java based SocialAuth library. Written from ground up using C#.NET, this component seamlessly integrates into any ASP.NET web application and enables user authentication through different service providers with minimal development effort. SocialAuth.NET hides all the intricacies of generating signatures & token, doing security handshakes and provide out of the blue simple API to interact with providers.

With this library you can:

  • Authenticate users with Facebook, Yahoo, Google, MSN, Twitter, MySpace and LinkedIn (more adding, soon!)
  • Access profile of logged in user (Email, First name, Last name, Profile pic, DOB and more)*
  • Get access to AccessToken of logged in User
  • Consume REST API feeds of supported providers
  • Import friend contacts of logged in user (Email, Profile URL and Name)*
  • Easily extend this library to add any provider supporting OAuth1.0a, Oauth1.0+OpenID Hybrid or OAuth2.0 protocols
  • Enable authentication on any existing quickly just be adding few DLLs and making some web.config changes
  • Easily design UI for login screen or let SocialAuth.NET do it automatically for you

Checkout more features!
http://socialauth-net.googlecode.com/svn/wiki/images/new.png'>http://code.google.com/p/socialauth-net/ *depends on level of information exposed by selected provider

Be assured of all the support & help required in using SocialAuth.NET!
Please http://code.google.com/p/socialauth-net/issues/entry'>report any issue and we promise to help you out!

http://socialauth.in/socialauthdemo-net/Default.aspx'>Click here for a live demo of how SocialAuth.NET works.

How does it work?

Once SocialAuth.NET is integrated into your application, following is the authentication process:

  1. User requests for some restricted page
  2. User is given an option to choose login via different popular service providers like Yahoo etc.
  3. User selects a provider he is already registered with.
  4. User is redirected to provider’s login site where they enter their credentials.
  5. Upon successful login, provider takes user’s permission to share his basic data with your site
  6. Once user accepts it, he returns back to your site to the same page which he initially requested for.
    This time user will be able to see page as he is now authenticated.

http://socialauth-net.googlecode.com/svn/wiki/images/Process_Flow.png' />

Who benefits from using SocialAuth.NET?

Using SocialAuth.NET benefits all of the following:

End users – Instead of creating new account on website, users can use their existing accounts from popular providers like Facebook etc. making it easier for them to access restricted content.

Application Developers – Application developers can add support for authentication through external providers with very simple integration procedure and be free from API intricacies of different providers. By calling standard methods, developers can also retrieve user profile and friends/contacts.

Site Owners - With no registration requirement, users can quickly login to the site and use its features. Further, users trust big providers (like Facebook etc.) making them comfortable in login process. This fast & trusted login process definitely attracts potential users and increase site popularity.

What features does SocialAuth.NET provide?

SocialAuth.NET provides following functional features:

  1. User authentication
  2. Ability to access user’s profile (depends on provider selected for login)
  3. Ability to access user’s contacts/friends (depends on provider selected for login)
  4. Option to use SocialAuth.NET with WIF Security Token Service

Getting Started - How do I use SocialAuth.NET?

  1. Click here for a live demo of how SocialAuth.NET works.
  2. Liked the Demo? Try SocialAuth.NET in your local environment
  3. Convinced with SocialAuth.NET power? Start developing your own application
  4. Already working with SocialAuth.NET ? Add a new provider!
  5. Looking for a MVC - SocialAuth.NET quickstart? Click here
  6. Willing to explore options for SocialAuth.NET as STS? Click here!
  7. We're also working on compilation of FAQs.
  8. YouTube: How to try SocialAuth.NET Demo application on local machine

Acknowledgements

Development of SocialAuth.NET wouldn’t have been that easy as it turn out to be on using some of the external open source libraries:

  1. OAuth C# script
  2. JSON.NET
  3. Log4Net Sincere thanks to authors of aforesaid libraries from SocialAuth.NET.
    Another great thanks to JetBrains for tooling us with addictive and smart to help us code better & faster. Haven't tried them yet? Try the awesome tools now!
    ReSharper - http://www.jetbrains.com/resharper/ DotCover - http://www.jetbrains.com/dotcover/

    References

    If you need help in registering your application with supported providers, please refer follwing links to get the API Keys:
    • Google OAuth1.0 (old) (show screenshot) - http://code.google.com/apis/accounts/docs/RegistrationForWebAppsAuto.html
    • Google - https://code.google.com/apis/console
    • Yahoo (show screenshot) - https://developer.apps.yahoo.com/dashboard/createKey.html
    • Facebook - http://www.facebook.com/developers/apps.php
    • MSN LiveConnect - https://account.live.com/developers/applications
    • Twitter - http://twitter.com/apps
    • MySpace - (show screenshot) - http://developer.myspace.com/Apps.mvc
    • LinkedIn - (show screenshot) - https://www.linkedin.com/secure/developer

Share it with your friends!!!

Project Information

The project was created on May 18, 2011.

Labels:
OpenID OAuth Authentication Contacts Import Profile Facebook MSN Hotmail Yahoo C .NET ASP.net