Need to sign up user using Facebook account without using Social Connector. I've created UserMembership with random password. But now how to signin this user? I mean complete AuthenticationManager.Login(userName, password)


The Sitecore.Security.Authentication.AuthenticationManager.Login function has an overload that just accepts the username as a string. You don't need to add in the password to authenticate the user. So once you have got back from Facebook that the user is authenticated, you could use that overload to log the user into Sitecore.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.