I have membership built on my web site. However, if I enable users to login using their other account like facebook or yahoo, so we will get user information and keep in our membership table, it will be easier for users to access my web site instead of going
through registration process on my web site. there are numerous posts discussing that. e.g.
In ASP membership application, the login uses username, however, most popular social web sites use email. My questions are:
1. how can I use email login instead of user name for registered users on my web site?
2. ASP membership requires user name must unique. If I have facebook user login and get his information in my membership table, in case there is the same user name, how can I handle that?
wangxg26
Member
77 Points
193 Posts
how to get facebook user login in asp.net?
Jan 05, 2013 02:32 PM|LINK
I have membership built on my web site. However, if I enable users to login using their other account like facebook or yahoo, so we will get user information and keep in our membership table, it will be easier for users to access my web site instead of going through registration process on my web site. there are numerous posts discussing that. e.g.
http://www.codeproject.com/Articles/450535/Using-Facebook-login-in-ASP-NET-application-withou
In ASP membership application, the login uses username, however, most popular social web sites use email. My questions are:
1. how can I use email login instead of user name for registered users on my web site?
2. ASP membership requires user name must unique. If I have facebook user login and get his information in my membership table, in case there is the same user name, how can I handle that?
bsarahim
Member
14 Points
145 Posts
Re: how to get facebook user login in asp.net?
Jan 05, 2013 03:21 PM|LINK
chck out this Janrain and get register
BrockAllen
All-Star
27526 Points
4903 Posts
MVP
Re: how to get facebook user login in asp.net?
Jan 05, 2013 03:54 PM|LINK
Look into the new simple membership with their OAuth2 "logins" with ASP.NET.
If you don't like those, I built an open source OAuth2 implementation:
https://github.com/brockallen/BrockAllen.OAuth2
DevelopMentor | http://www.develop.com
thinktecture | http://www.thinktecture.com/