Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authorize more than one provider for one user #87

Open
KroniK907 opened this issue Nov 2, 2016 · 1 comment
Open

Authorize more than one provider for one user #87

KroniK907 opened this issue Nov 2, 2016 · 1 comment

Comments

@KroniK907
Copy link

Hello,

Looks like this plugin has been kinda quiet lately but appears to still work great!

Does this plugin allow for a user (once logged in) to authorize more providers? I would like to have a bit of logic available on the login() method that would allow for a user to authorize a second provider once that user is already logged in on my site.

@adamwathan
Copy link
Owner

Hey @KroniK907, that's not supported out of the box, but you might be able to make something work based on this existing functionality:

adamwathan/eloquent-oauth-l5#10 (comment)

Happy to look at PRs for stuff involving linking accounts.

The biggest challenge is dealing with cases where accounts would need to be merged. If someone logs in with Facebook, then logs in with Google a few days later (while not already logged in via Facebook), they would have two accounts now. Trying to merge the data when linking would really be totally different for each app, so it's always going to require a bunch of work for the end user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants