Skip to content

Respect the locale set to a user when redering verify email pages #34063

Closed
@pedroigor

Description

@pedroigor

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

user-profile

Describe the bug

User profile locale is not respected during the email verification process on a different device/browser.
KEYCLOAK_LOCALE cookie is not created when verifying the email on a different device/browser.
Incorrect localization is encountered during the email verification flow on a different device/browser.

The locale found after opening the link matches the accept language of the browser.
No KEYCLOAK_LOCALE cookie is being created.

Version

26.0.0

Regression

  • The issue is a regression

Expected behavior

The locale found after opening the link should match the user profile's locale.

Actual behavior

The locale not found after opening the link should match the user profile's locale.

How to Reproduce?

  • Selected french (FR) from language selector
  • Registered new user.
  • Email sent in french (FR).
  • Switched to Firefox (different browser) in private mode.
  • Opened the verification link in Firefox.
  • All the pages are in italian (IT).

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions