Why is @@config@@ not being injected at runtime when using universal login liquid templates?

We are updating login liquid template with auth0-cli. But unlike default template defined in Login → Advanced options with following snippet var config = JSON.parse(decodeURIComponent(escape(window.atob('@@config@@'))));, it looks like @@config@@ string not being injected/modified at runtime when using liquid templates.

I would like to access extraParams (which contain custom params that have been provided to loginOptions in @auth0/auth0-react withAuthenticationRequired HOC. Is this possible and how?

Hey @renaud, there are two login flows - Classic and New. The Classic pages use the HTML templates that rely heavily on JavaScript, and this is also where you would find the @@config@@ variable. This is also the template that you edit in Branding → Universal Login → Advanced → Login tab.

The New Universal Login has less reliance on JavaScript and does not have this variable.

However, you can still access extra parameters sent to login in New ULP using the transaction.params in the liquid template. All these parameters are prefixed by ext- - for example transaction.params.ext-test. More info on that here: https://auth0.com/docs/customize/universal-login-pages/universal-login-page-templates#custom-query-parameters