-
Notifications
You must be signed in to change notification settings - Fork 171
Error when logging in via OIDC as a user that was registered locally #1827
Copy link
Copy link
Closed
Labels
bugSomething isn't working or in unexpected waysSomething isn't working or in unexpected waysrestserverAffects the rest server.Affects the rest server.
Milestone
Description
Context: #1781
The problem occurs when an already existing user that was registered locally is being authenticated by OIDC. Docspell looks up the user with account_source = openid, doesn't find anything and tries to create the user. But there is such a user already with account_source = local. It should return an error that an account like this has already been added from a different source or automatically treat it as the same account.
The other way around is handled. When trying to register an account that has been created by OIDC it sends an error message "A collective with this name already exists.".
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't working or in unexpected waysSomething isn't working or in unexpected waysrestserverAffects the rest server.Affects the rest server.