Hi folks,
I’m having trouble getting the template changes pushed via the Branding API endpoint to show on my login page.
For brevity I’ve ensured the following pre-requisites are in place:
- Custom Domain set up in Auth0 platform
- Reverse proxy is configured in Cloud Provider
- New ULP is set (not classic)
- The Customize Login page is not set (or no other customize options are set in this regard)
- I’m authenticating with the correct client_id and client_secret
- Ensuring that the domain_url is the custom domain for authentication and API calls.
- ALB on the Cloud Provider end is using the custom domain URL
I’ve also followed a number of other topics to rule out other causes:
- when-i-use-universal-login-page-templates-api-i-cant-customized-universal-login-page
- new-experience-page-templates-not-working
- universal-login-page-templates
So - what’s the issue?
I can set my template using this endpoint: https://{{domain_url}}/api/v2/branding/templates/universal-login:
As per the screenshot provided I receive a ‘204 No Content’ response - interestingly, the body message returned is a ‘1’?
‘Getting’ the branding templates works as expected:
I happen to be using PostMan for convenience but get the same behaviour using curl
I hit my application for a given URL and am redirected to the login page with the correct custom domain URL - unfortunately, the Login customisation are picked up from the Dashboard configuration settings.
I can’t see anything useful in the logs so I’m out of luck there - not so much as error but more unexpected behaviour…