laravel-hackathon-starter icon indicating copy to clipboard operation
laravel-hackathon-starter copied to clipboard

Multiple Oauth accounts create multiple users

Open necrogami opened this issue 9 years ago • 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.

necrogami avatar Aug 05 '16 15:08 necrogami

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

necrogami avatar Aug 05 '16 15:08 necrogami

PRs are always welcome 😊

unicodeveloper avatar Aug 06 '16 00:08 unicodeveloper

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.

necrogami avatar Aug 08 '16 15:08 necrogami

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 😊

unicodeveloper avatar Aug 08 '16 16:08 unicodeveloper

I'm looking into it.

necrogami avatar Aug 08 '16 20:08 necrogami

I'll be watching from the sidelines

acekyd avatar Aug 08 '16 20:08 acekyd

Waiting for your patch.

muhx avatar Aug 17 '16 01:08 muhx