I've been looking around some time for a very simple implementation using DotNetOpenAuth to allow users to log into my application using their Google account, Yahoo account, or other OpenId. I've done some digging and searching through DotNetOpenAuth's website as well as checked out some other projects' source code which utilizes this service but none of them seem to be very straight-forward at all. (Including the samples from DotNetOpenAuth's site.)
Does anyone have a link to a tutorial/demo/example which would demonstrate most of the following?
- Allow a user to sign in using Google, Yahoo, other OpenId, OR the "regular" ASP.NET membership account. (Very similar to the NerdDinner demo)
- Upon initial sign-in, capture information like FirstName, LastName, E-MailAddress, etc from external source (e.g. Google).
- If the user is logging in for the first time, save that membership information mentioned above (probably into the ASP.NET Membership tables).
- Upon subsequent log-ins, retrieve that user's record from the ASP.NET Membership tables.
- Using MVC 3 with the Razor engine.
Any assistance you could provide would be appreciated. Chances are, the information I need I've already seen in some of these other demos. I just do not have the information about exactly what the code is doing to fully wrap my head around the functionality.