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

Fixes - Changing email after signing in with a connected account renders account not accessible #350

Closed
mystyq opened this issue Mar 26, 2024 · 1 comment · Fixed by #351
Labels
bug Something isn't working

Comments

@mystyq
Copy link

mystyq commented Mar 26, 2024

Stack

Jetstream – Vue with Inertia

Package Version

^6.0

Laravel Version

v11.0.3

Livewire Version

No response

react Version

No response

Vue Version

No response

PHP Version

8.3.4

Problem description

After connecting a 3rd party account (by same email) and logging in then changing the email, the account can no longer be accessed by that connected account (because the emails are different)

Expected behavior

Logging in with the connected account should find the associated user (no need to check for the email again)

Steps to reproduce

  1. Create account normally
  2. Connected 3rd party account with same email
  3. Change email in profile view
  4. Log out
  5. Sign in with 3rd party account

Reproduction repository

https://github.com/mystyq/socialstream

Relevant log output

Please check the commit to see a suggested solution.  There is a commit message to note that this suggestion is not a complete solution but rather opens up another question as to how to perceive a connected account (basically as a passport to the jetstream account itself)
@mystyq mystyq added the bug Something isn't working label Mar 26, 2024
@mystyq
Copy link
Author

mystyq commented Mar 26, 2024

Please let me know if you would like me to submit a pull request for this issue. I have applied some fixes to the repository in a few commits. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant