Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

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

Open
sandhose opened this issue Nov 10, 2023 · 1 comment
Labels
A-Registration-Flow Related to the user registration flow A-Upstream-OAuth Related to login via upstream OAuth 2.0 providers

Comments

@sandhose
Copy link
Member

sandhose commented Nov 10, 2023

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)
@matrixbot
Copy link
Member

For your information, this issue has been copied over to the Element fork of matrix-authentication-service: element-hq/matrix-authentication-service#2089

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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

2 participants