Custom Parameters with Dynamic Values in Email Redirect URIs

Overview

This article will explain why query parameters with context-dependent values using liquid syntax added to Email Redirect URIs may appear empty when customizing Redirect URIs. An example of this outcome is:

https://<redirectdomain>.com?queryparam=&otherParams

Applies To

  • Redirect URI
  • Customization
  • Liquid Syntax

Cause

The redirects appear empty because the values specified between {{ }} are not one of the following:

  • application.name
  • application.clientID
  • application.callback_domain

Auth0 does not currently support other dynamic values for Redirect URI customization.

Solution

In the Management Dashboard, under Branding > Email Templates, select a template that also provides a Redirect To property. Ensure the dynamic values specified in the URL between {{ }} are one of the following:

  • application.name
  • application.clientID
  • application.callback_domain

See the example below:


When the user selects the action button from the email, the email redirects to a URL that contains the application ID as the string value of the app_id query parameter.