I have an asp.net web forms project that in it i used old membership and role manager system (i mean Forms Authentication) with custom database tables for users and roles. Now i need to use OAuth to login user with Facebook and Google account. In fact i need to send user name and password to Facebook and receive true or false, after receiving true i will register user with that username and password and then i will call :

FormsAuthentication.RedirectFromLoginPage(UserName,false);

I need something maybe like :

bool result = ValidateUser(FacebookUserName, FacebookPassword);

Can you help me please?

Related posts

Recent Viewed