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

Make it possible to auto-import existing users when the localpart matches in upstream OAuth 2.0 logins #2089

Open
matrixbot opened this issue Sep 10, 2024 · 0 comments
Labels
A-Registration-Flow Related to the user registration flow A-Upstream-OAuth Related to login via upstream OAuth 2.0 providers

Comments

@matrixbot
Copy link
Collaborator

This issue was originally created by @sandhose at matrix-org/matrix-authentication-service#2089.

When there is a new upstream OAuth 2.0 link and the localpart imported matches an existing user, we have 4 choices:

  • do nothing, and fail the registration/login (corresponds to allow_existing_users: false in Synapse)
  • import the link if and only if there is no existing link for this user
  • import the link and replace any existing link for this user
  • import the link without overriding existing links for this user (corresponds to allow_existing_users: true in Synapse)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Registration-Flow Related to the user registration flow A-Upstream-OAuth Related to login via upstream OAuth 2.0 providers
Projects
None yet
Development

No branches or pull requests

1 participant