Unable to use dynamic result_url in email template

Hello,

I’m using terraform email templates on my tenant and I need to use a custom field on the application which is application.metadata.app_url, however it is blank.

My setup is one tenant and multiple applications (auth, SPA and API).

I’ve also tried application.callback_domain which is also blank.

One strange thing I notice is application.name is “All applications”.

How do I set the correct result_url in email template.