# MFA email template application variables incorrect

**URL:** <https://community.auth0.com/t/mfa-email-template-application-variables-incorrect/83869>\
**Category:** Get Help\
**Tags:** mfa-email, email-template\
**Created:** [May 21, 2022, 5:10pm UTC](https://community.auth0.com/t/mfa-email-template-application-variables-incorrect/83869 "2022-05-21T17:10:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhull](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mhull/32/33662_2.png) [@mhull](https://community.auth0.com/u/mhull)\
**Post date:** [May 21, 2022, 5:10pm UTC](https://community.auth0.com/t/mfa-email-template-application-variables-incorrect/83869/1 "2022-05-21T17:10:45Z")

</div>

I am trying to configure the email template for MFA email (code). When I use any of the common variables, such as `application.name` or `application.clientId`, the substituted values are those from the “global” (tenant) client and not for the client that has initiated the login flow. Is this intended? How do I get the correct application name to show up?

Anywhere else I use these variables in email templates they behave properly. If it matters, I am using universal login with no custom pages. I am however using `custom-text`/prompts. The values populated for fields such as `${clientName}` are behaving properly, so I would expect the variables in the MFA email triggered from the same login window to have the same values (and _not_ those from the global client)

Anyone have any thoughts?

I am getting around it momentarily by hardcoding the application name. This will only work so long as I have a single app/client, which isn’t going to be for very long.

---

<div class="post-metadata">

**Author:** ![sukma.arifin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sukma.arifin/32/45317_2.png) [@sukma.arifin](https://community.auth0.com/u/sukma.arifin)\
**Post date:** [April 5, 2023, 2:44am UTC](https://community.auth0.com/t/mfa-email-template-application-variables-incorrect/83869/2 "2023-04-05T02:44:27Z")

</div>

Hi, any update for this bugs guys ? i got the same error

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [April 19, 2023, 2:28pm UTC](https://community.auth0.com/t/mfa-email-template-application-variables-incorrect/83869/3 "2023-04-19T14:28:30Z")

</div>

Hi all,

I can confirm this behavior and have reported it as a bug. I’ll post an update here as soon as I have more info.

Thank you for your patience.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [May 3, 2023, 2:29pm UTC](https://community.auth0.com/t/mfa-email-template-application-variables-incorrect/83869/5 "2023-05-03T14:29:29Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
