8000 ModelDuplicateException on next login after deleting an account · Issue #39923 · keycloak/keycloak · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to 8000 content
ModelDuplicateException on next login after deleting an account #39923
Closed
@mandritschke

Description

@mandritschke

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

authentication

Describe the bug

I can see a ModelDuplicateException caused by a unique constraint violation (stacktrace.txt) after a user has been deleted.

Version

26.2.4

Regression

  • The issue is a regression

Expected behavior

  • next login with an unrelated user is successful

Actual behavior

  • next login fails with status code 500

How to Reproduce?

  • A user with an active session deletes themselves and then logs out (back channel logout)
  • The browser is redirected to the login page again
  • Another unrelated user attempts to log in through this login page and receives an error with status code 500 and said ModelDuplicateException

Anything else?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0