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

Issues with SSO after chnaging to new provider #2288

Open
4 tasks done
sw17 opened this issue Mar 23, 2025 · 1 comment
Open
4 tasks done

Issues with SSO after chnaging to new provider #2288

sw17 opened this issue Mar 23, 2025 · 1 comment
Labels
🐛 Bug Something isn't working

Comments

@sw17
Copy link

sw17 commented Mar 23, 2025

Environment

Docker

Version

1.12.0

Describe the problem

I have migrated my SSO provider and can sucsusfully login useing new users that have been created on the SSO provider, however when trying to login with a user that prevosily had access I am unable to logon. There is no way of deleteing these users within hommar interface to allow there accounts to be created again automatily when they login as this is disabled. Reading the logs it does not like the duplicate email address but no option to remove the old user

Logs

20:M 23 Mar 2025 15:51:40.264 * Background saving terminated with success
2025-03-23T15:51:42.609Z error: R: Another account already exists with the same e-mail address. Read more at https://errors.authjs.dev#oauthaccountnotlinked
at async ae (/app/apps/nextjs/.next/server/chunks/8287.js:489:57629)
at nl (/app/apps/nextjs/.next/server/chunks/8287.js:489:5413)
at async oZ (/app/apps/nextjs/.next/server/chunks/8287.js:489:43896)
The above error also had these properties on it:
{ name: 'R', type: 'OAuthAccountNotLinked', kind: 'signIn' }
at async responseGenerator (/app/node_modules/next/dist/server/base-server.js:1822:28)
at async doRender (/app/node_modules/next/dist/server/base-server.js:1452:42)
at async tr.handle (/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:18:22212)
at async tr.do (/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:18:17582)
at async c (/app/apps/nextjs/.next/server/app/api/auth/[...nextauth]/route.js:1:3578)
at async o8 (/app/apps/nextjs/.next/server/chunks/8287.js:489:54738)

Context

No response

Please tick the boxes

  • I confirm that I attached the proper logs
  • I've read the docs
  • I've checked for duplicate issues
  • I've tried to debug myself
@sw17 sw17 added the 🐛 Bug Something isn't working label Mar 23, 2025
@github-project-automation github-project-automation bot moved this to 🆕 New in Homarr Kanban Mar 23, 2025
Copy link

Hi 👋. Thank you for submitting your first issue to Homarr. Please ensure that you've provided all nessesary information. You can use the three dots > Edit button to update your post with additional images and information. Depending on the current volume of requests, the team should get in conact with you shortly.

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
Status: 🆕 New
Development

No branches or pull requests

1 participant