Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Using FOSFacebookBundle to bind "fosuserbundle users" to facebook accounts #145

@Andy0763

Description

@Andy0763

Currently, the custom provider presented in the documentation creates a new user in the FOSUserBundle database, with all its user info extracted from facebook. (basically, the facebookId, email, first and last name)

Would there be an accessible way to use this bundle so that, when a user that has logged in through the form login connects itself for the first time with the facebook button, it updates its database record with new info (in appropriate nullable fields added in the user entity), instead of creating yet another user?

Therefore a user could only login to the website through the form, but this user would then be able to "bind" their website account to their facebook account, if they want to.

Yet I cannot seem to get a firm conviction that this bundle allows to process such a thing without fiddling consistently with its core components...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions