What seems crazy is that the minute I click on the toggle to “Customize Login Page”, the custom HTML is immediately live to my customers. But if I don’t click on the toggle, I can’t edit the HTML and preview what it will look like. How am I supposed to get the custom code right if I can’t test in a preview environment? It’s untenable to turn off my current login flow while I’m working on this.
First, let me clarify that when you enable the “Customize Login Page” toggle, you should see a warning banner telling you that it will override the New Universal Login experience with the Classic Universal Login experience.
Therefore, if you would like to make changes to the New Universal Login screen, you must not toggle on the “Customize Login Page” and customize the HTML page using the Page templates API.
Finally, I recommend creating another tenant for testing the New Universal Login pages so that it does not interfere with your production tenant. This would be the best way to preview the page without any impact.
With every other type of change to my universal login page I can preview the change before I save it. That lets me see what I’m about to change before hitting save. However, the “Customize Login Page” doesn’t act this way, which is frustrating.
I don’t want to have to setup another tenant to preview these changes. Frustrating that that seems to be my only option here.
And even if I do setup another tenant, there’s no way to avoid outages on my production tenant. Because once I click the toggle, it is live immediately. I can have a short outage by quickly copying my desired code into the customize page, but it is still an outage and that’s frustrating as an app owner.
Wait, so reading this again, this is even crazier. You don’t have a way to update the New Universal Login from the site?? I exclusively have to use the API?
From what I gathered from your tenant, you have configured the New Universal Login experience, which you can edit either with the Pages Templates API as mentioned before, or with the No-Code editor on the Dashboard.
Using the No-Code editor will let you preview these changes before deploying it live.