MFA email template application variables incorrect

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.

1 Like

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

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.

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