OpenID Login for ASP.NET

Dec 2, 2009

And, eventually, Silverlight :)

Here is the "hello world" OpenID login using DotNetOpenAuth.

If you don't know what's OpenID, it's a way to use your existing Google, Yahoo, AOL, Blogger and many more credentials (eventually Live too), to login to an OpenID website.

The source code allows you to login using Google, Yahoo, MyOpenID, or other provider and returns a state containing a friendly name and database unique ID of the user that is authenticated!

Download source code

Screenshot of above login sample:

I like very much StackOverflow's login interface, so decided to implement something that looks like it (a bit cleaner)
 | Terms | Log in


About the author

Happy & enjoying life. Software enthusiast.
The opinions I express here and on are mine and not my employeer's (Microsoft).
This is the official blog of You can find Silverlight samples, coding stuff, and hopefully other interesting things here.