A secure implementation of OAuth2 using vanilla ASP.NET C#. Requires no third-party libraries or assemblies.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Claire f948fc07fe Initial commit 2 months ago
GoogleLogin Initial commit 2 months ago
GoogleLogin.sln Initial commit 2 months ago
LICENSE Initial commit 2 months ago
README.md Initial commit 2 months ago

README.md

.NET OAuth2

A secure implementation of OAuth2 using vanilla ASP.NET C#. Requires no third-party libraries or assemblies.

This is proof-of-concept and was developed in September 2013. I do not recommend implementing this code in a production environment without careful evaluation of the security implications.

This project implements OAuth2, which is a standardized means of implementing third-party authentication for web applications. Securing user accounts is a serious endeavor that requires an adequate understanding of the complex security concerns around protecting users' authentication and identification information. OAuth2 (and its predecessor, OpenID) attempts to address this scenario, by making it easy for web developers to support authentication from a variety of popular online services, such as Google, Microsoft, Twitter, and Facebook. This project uses Google authentication.

My implementation relies exclusively on vanilla .NET Framework 4.5 assemblies. Although this project implements Google authentication, it should be trivial to modify the code to use other OAuth2 providers.

For a detailed breakdown of the code, check out the wiki.