Configure custom domain using Auth0.js on the Universal Login page

Hello, we want to configure custom domain with Auth.js. We have complete the verification process for the customised domain, and according to this documentation we have set the overrides option. Yet the custom domain doesn’t work. Any suggestions much appreciated.
Regards,