client.client_metadata is unavailable in the verify email template. This occurs in two cases where email verification is triggered:
- Sending the email using the Try button in the dashboard.
- Creating a user via the Management API.
The verification link is associated with the Auth0 application that triggered it. If no
client_metadata is set on the application then it will not be present. For the Try button, the associated application is the Default application.
For users created using the Management API, the associated application is that to which the token is issued. In other words, the application identified by the client ID provided when issuing the token.
When a user is created via the Management API, the verification page will be populated with the
client object containing the relevant values, including the application’s