I would like users to login to my site using only their Facebook credentials. I would like to have a FacebookMembershipProvider class that extends the MembershipProvider class. This way I can still use the built in security features of ASP.net such as : [Authorize(roles = "Admin")]
Has anyone tried this? How did you implement it?
One approach would be to log in with Facebook and then create an associated membership account, I am looking at some of the code in the microsoft-web-helpers package for web matrix and their facebook helpers seem to support this approach.
This way you can still use the default Membership and role providers.