Customize Universal Login - outdated pages and examples

Hi community,

  1. I’ve created a custom domain
  2. I’m not trying to change the auth0 widget, only customize the wrapper.
  3. I took the code from the example and put it inside the login template:
  4. The response is:
    image

2 options:
I’m doing something wrong
Auth0 customization of universal login is outdated

please help

Hi @idankrayon

Thanks for getting in touch with us at Auth0 Community.

I’m assuming you referenced this document https://auth0.com/docs/customize/universal-login-pages/universal-login-page-templates

To update the New Universal Login Experience you need to use the Management API as per this section of the document https://auth0.com/docs/customize/universal-login-pages/universal-login-page-templates#page-templates-api the sample code will work using this method.

Ensure you switch off the toggle on the Login tab otherwise you will get the Classic Universal Login experience instead:

Let us know if you have any further questions.
Warm regards.

1 Like

Thanks for the answer!, I figured it out after a couple of hours, you need to update your docs. This section needs to be at the top and not at the bottom. I hope it makes sense.

So whoever have this problem, you cant copy paste like I did on the templates menu, I’ve been using the Auth0 CLI tool, this is the easiest way to update it!,
hope this will help someone in the future.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.