OAuth2, creating local accounts using Facebook and Google -
i'm trying implement oauth2-based registration/login project i'm working on.
a thought struck me; if user decides login site first time using facebook , second time using google;
1) possible connect 2 different login methods same account?
2) idea?
at first thought use email unique identifier, doubt secure enough.
is there way accomplish this, or should create 2 separate accounts two, depending on login method used?
why should e-mail unique identifier lack security? problem user having kind of spam mail address @ facebook avoid email notifications. give user cookie , if he's trying authenticate second time google instead of facebook, created account can work around function enabling him connect google subaccount main one, created facebook. needs quite amount of time ;)
Comments
Post a Comment