ruby on rails - Match existing user profile with facebook, gmail and twitter -


i have built custom login system. it's working fine, because users forget user login details, want use oauth gmail , facebook access.

how can match existing user data facebook or gmail data?

if have user , uses facebook or gmail oauth login, can identify looking in current users table e-mail (assuming required e-mail confirmation in system, or else can become real mess). twitter, other hand, doesn't allow see e-mail user, have alternate way. more straight-forward way unite user account external user account ask add bound accounts in first oauth login.

forgetting login details doesn't seems best motive use oauth, implement "forgot password/login" feature. oauth supposed improve users experience being connected other services well, , use same "friends" or "share" things in easier way. (this seems personal opinion since have no source , @mischa not agree that). however, noticed, simplify user management if don't want implement 1 yourself.


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -