Thanks to visit codestin.com
Credit goes to github.com

Skip to content

When update-email feature is enabled, changing emails two times in a row causes unintuitive behaviour #19555

@taminomara

Description

@taminomara

Before reporting an issue

  • I have searched existing issues
  • I have reproduced the issue with the latest release

Area

user-profile

Describe the bug

When update-email feature is enabled, updating user email for the first time works as expected. When trying to update email second time in a row, clicking 'change user email' redirects to a page that says "You are already logged in."

Version

21.0.2

Expected behavior

User gets a message with verification link. Following the link changes user's email.

Actual behavior

User sees message "You are already logged in."

How to Reproduce?

  1. Run keycloak with KC_FEATURES=update-email, enable email verification in realm settings, enable "Update email" in "authentication/required actions", configure SMTP server.
  2. Open a user console, click 'change user email' and proceed as usual.
  3. After successfully changing user email, open user console and click 'change user email' once again.
  4. If requested, enter user's current password.

Anything else?

No response

Metadata

Metadata

Assignees

Labels

area/authenticationIndicates an issue on Authentication areakind/bugCategorizes a PR related to a bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions