joelbutcher / socialstream

OAuth for Laravel, simplified.

Home Page:https://docs.socialstream.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto connect account that is found

peteswan opened this issue · comments

What problem does this feature request solve?.
Currently it appears (I could be wrong) that is a user signs up via email, and at a later stage tries to login via Google, it doesn't automatically match the accounts and connect them.

A user needs to manually connect their google account before being allowed to login with google.

Describe your proposed solution
Automatically detect account and instead of the error: An account with that Google sign in already exists, please login. - just join the accounts together.

Hello, thanks for raising your issue. I try to provide the best support available to users of Socialstream.

The issue you have is there by design as a security measure to protect compromised OAuth accounts from gaining access to customer accounts in your application.

I do not recommend implementing this yourself. However, you are free to do so at your own risk by overriding the routes in your applications ./routes/web.php file.