Demonstration Project for Authentication with Major Social Services
Latest commit 94eb3c5 Feb 21, 2014 @swhitley -Upgraded to VS2012
-Updated Twitter Auth for latest API.
Failed to load latest commit information.
AuthPack -Upgraded to VS2012 Feb 21, 2014
.gitignore Initial Commit Nov 23, 2011
AuthPack.sln 2014-02-21 Feb 21, 2014 Update Sep 2, 2012



AuthPack is a demonstration project for .NET authentication with Twitter, Facebook, Google, LinkedIn, and It includes sample oAuth API calls for each service.


Most of the files in this solution are generated by the standard Visual Studio Web Forms template.

  • Important: Update Web.config with service provider authentication keys and secrets.

  • Site.Master - Contains most HTML/Javascript modifications.

  • /Auth - Most of the custom code resides here. Auth.aspx.cs contains sample oAuth calls for each provider.

oAuth Setup

Register your application with the service providers and retrieve the necesseary API keys. Then enter them in web.config.

Twitter -

Facebook -

Google -

LinkedIn - -


Twitter is the easiest service to configure and get running. Make sure you enter an oAuth Callback Url, even if you will override it in the application.

Facebook, Google, LinkedIn, and require you to enter the domain from which you'll be accessing the services. http://localhost should work, but you may need to update your hosts file for Facebook.

LinkedIn requires SSL. This cannot be done on the Visual Studio Development Web Server. You will have to setup IIS with https and debug in IIS.