More consistent localization behavior for all email templates in the Universal Login experience

Feature: Consistent localization behavior for all email templates in the Universal Login experience.

Description:
Currently, email templates behave inconsistently when handling localization and user metadata:

  • Email OTP Template: The app_metadata of the user is not accessible, and the request_language parameter reflects the browser’s accept_language header.
  • Reset Password Template: The app_metadata is accessible, and the request_language reflects the actual language Auth0 used to render the login page.
  • Account Blocked Email: The app_metadata is accessible, but the request_language parameter is empty.

The inconsistency in how these templates handle request_language and user metadata complicates delivering a uniform experience across different emails. A more consistent approach, where request_language reflects the rendered language in all templates and app_metadata is accessible, would streamline localization.

Proposed solution:

  • Standardize request_language to reflect the rendered language in all templates.
  • Introduce a separate parameter for the accept_language header.
  • Ensure app_metadata is accessible in all templates.

Use-case:
We are customising and localising email OTP, password reset and account blocked emails using the new universal login experience in login page. The localisation is a bit different for all the mentioned templates.

Hi team! :raised_hand_with_fingers_splayed:

This is just a heads-up that we’ll be hosting an Ask Me Anything (AMA) session all about Universal Login, and this question is relevant to our event. Auth0 by Okta Subject Matter Experts will answer your question on Thursday, October 24th, from 9 a.m. to 11 a.m. PST.

:thinking: Have more questions about customizing your login experience, boosting security, or implementing advanced features?

:point_right: Drop your questions in this thread before October 23rd, and our experts will provide answers during the AMA!

:tada: Plus, you’ll earn points and a special badge for participating!

Ask Me Anything: Tailor Your Experience with Universal Login — From Low-Code to Pro-Code

Thanks
Dawid

Adding to the list. Currently only the password reset email supports the case when ui_locales is passed to the login page as the request_language param is set to the language rendered at the login page.