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

User unable to login via SSO after changing email to different domain #7092

Closed
sjthiessen opened this issue Jun 19, 2024 · 2 comments
Closed
Labels

Comments

@sjthiessen
Copy link

sjthiessen commented Jun 19, 2024

We're using Authentik as SSO provider. When changing an users mail adress to a mail with a different domain, they won't be able to login again. Error is similar to #4668

{"error":"User authentication aa0cb10e6013efc6d35166b651b76e2e78c6893fd1361b8153643c63ffe782ef already exists for 1021b507-9976-4d43-9afc-61951cd81222, tried to assign to 4cc35fea-5170-4183-b343-e56f303107dc","level":"error","message":"Error during authentication","stack":"Error: User authentication aa0cb10e6013efc6d35166b651b76e2e78c6893fd1361b8153643c63ffe782ef already exists for 1021b507-9976-4d43-9afc-61951cd81222, tried to assign to 4cc35fea-5170-4183-b343-e56f303107dc\n at userProvisioner (/opt/outline/build/server/commands/userProvisioner.js:55:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async accountProvisioner (/opt/outline/build/server/commands/accountProvisioner.js:74:12)"}

To Reproduce

Steps to reproduce the behavior:

  1. Have a user set up via SSO and with a connected account in outline
  2. Change the mail from example@provider.com to example@differentprovider.com
  3. (Log out and) log in into outline via SSO again
  4. See error

Expected behavior
Changing the mail via SSO should not break the login

Screenshots
grafik

Outline (please complete the following information):

  • Install: self hosted
  • Version: 0.76.1

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Firefox
  • Version: 127.0
@sjthiessen sjthiessen added the bug label Jun 19, 2024
Copy link

linear bot commented Jun 19, 2024

@tommoor
Copy link
Member

tommoor commented Jun 19, 2024

Duplicate of #6858 – the best thing you can do is manually update the users email address in the db right now

@tommoor tommoor closed this as completed Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants