3

I need to build a site for a mobile app that allows users to sign in with facebook/twitter or sign up as a new user (traditional username/password).

No matter which method the user chooses, they should remain login until they choose to logout.

While signing up as a new user is straight forward, using username/password as authentication, I have no idea how I can authentication users who signs up with facebook/twitter. I think there's an access token returned when user gives access to our app, but is this token permanent? Can we reliably store it in our database for authentication?

Any advice is appreciated.

asked Feb 17, 2014 at 0:02

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.