Cannot access config variables from mfa page

I’m trying to get my domain from the config variables with ##AUTH0_CUSTOM_DOMAIN## inside my custom mfa page, but it’s never been replaced. But it’s working fine on the login page.

Notes: This variable is set under “AUTH0_KEYWORD_REPLACE_MAPPINGS” on the config JSON files.