How to pass theme setting from client to ACUL?

Hi,

I have a webapp which has light and dark theme. I’m working on ACUL to fully control the Login pages.

How can I pass the current setting of our webapp (light/dark theme) to ACUL so the Login pages will be the same theme with our webapp?

Thank you

Hi @jayden_mb,

Welcome to the Auth0 Community and sorry for the delayed response!

You can pass additional information from your website by adding an additional queryparameter directly in your /authorize call and Customize the Universal Login context object in ACUL by accessing a variable from the context_configuration such as the
"untrusted_data.authorization_params.ext-". This would help extract the preferred choices of your users before rendering your customized screen using ACUL.

I hope this helps!
Thanks,
Remus

1 Like