unicodeveloper / laravel-hackathon-starter

:computer: :octocat: A hackathon/MVP boilerplate for laravel web applications. Start your hackathons without hassle.
http://hackathon-starter-staging.herokuapp.com/
MIT License
1.63k stars 298 forks source link

Multiple Oauth accounts create multiple users #25

Closed necrogami closed 1 year ago

necrogami commented 8 years ago

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 commented 8 years ago

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

unicodeveloper commented 8 years ago

PRs are always welcome 😊

necrogami commented 8 years ago

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.

unicodeveloper commented 8 years ago

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 😊

necrogami commented 8 years ago

I'm looking into it.

acekyd commented 8 years ago

I'll be watching from the sidelines

toean commented 8 years ago

Waiting for your patch.