Skip to content

Verify email not working in incognito browser tab after Keycloak restart #51088

Description

@pchorus

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

When a user registers he receives the email containing the link to verify the email address.
When the Keycloak server is restarted after the email was sent and the user clicks the link afterwards in a browser incognito window, the server responds with a 500.

This behaviour is reproducible and I can already provide you with a fix.

Version

26.7.0

Regression

  • The issue is a regression

Expected behavior

Email verification link should always be working, even after Keycloak restart and opening it in an incognito browser window.

Actual behavior

Opening the link in an incognito browser window after Keycloak restart responds with a 500.

How to Reproduce?

  1. Fill in the user registration form and submit.
  2. Make sure, verification email was received.
  3. Restart Keycloak
  4. Open link in verification email in an incognito window of any browser.
  5. See error page due to 500.

Anything else?

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions