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
withAuthenticationRequired HOC. Is this possible and how?
@@config@@ variable. This is also the template that you edit in Branding → Universal Login → Advanced → Login tab.
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