unicodeveloper/laravel-hackathon-starter

Multiple Oauth accounts create multiple users

necrogami opened this issue ยท 7 comments

If you attach multiple oauth adapters and try signing into an account say github and bitbucket. Even if your details (email name) are the same it will generate 2 separate accounts on the site instead of linking them together.

Also there's no way to link an oauth account to an existing created account

PRs are always welcome ๐Ÿ˜Š

Due to the nature of how the oauth tokens are stored this is going to most likely require a major re-write of how oauth is stored and linked to user accounts. Which is going to be a 1 to many relationship. Also upon logging in without a linked email address needs to ask someone to create an account or link an existing account.

I have added labels to this. I might work on this but I'm not promising right away because I'm busy at the moment...but if you want to help, you can take a stab at it and we'll review together ๐Ÿ˜Š

I'm looking into it.

I'll be watching from the sidelines

toean commented

Waiting for your patch.