bnoguchi/everyauth — Issue #161: extend a user by logging into a second oAuth provider
Author: OnsideApp
Created: 2012-01-20 19:11:03+00:00
State: open

What I am trying to achieve is for a logged in user (by twitter) to then be able to add facebook so they can like or comment with facebook, but for only one user account to exist. The user would therefore be able to login with either facebook or twtter on a second visit.

I think this may be possible if I can access the request object in findOrCreateUser, as then I would be able to access the original user object and update the details and pass it back to the API.

Is there any other way of achieving this or accessing the already authenticated user object inside of findOrCreateUser?