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-reactwithAuthenticationRequired 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.