Tenant with custom domain enabled but can't use custom signup prompt

Hi,
I’ve configured and activated a custom domain to my dev tenant.

Now I’m trying to use de ManagementAPI to create custom signup partials to the New Universal Login, but the response from API is the message below:


GET (or PUT) https://{{myCustomDomain}}/api/v2/prompts/signup/partials
{
    "statusCode": 403,
    "error": "Forbidden",
    "message": "Your account does not have custom prompts enabled",
    "errorCode": "operation_not_supported"
}

I checked the doc Sign-up Prompt Customizations and I think that all required actions are ok:

  1. Make sure your tenant has a Custom Domain configured. OK (status ready).
  2. Confirm you are using New Universal Login for all signup and login prompts and ensure that Customize Login Page is disabled for Login Prompts. Using NUL and Customization is Disabled.
  3. Check that you have a Custom Page Template configured. I have a doubt about this, it’s just update the HTML using the code below? (already executed)
PUT https://{{myCustomDomain}}/api/v2/branding/templates/universal-login

<!DOCTYPE html>
<html lang="{{locale}}">
  <head>
    {%- auth0:head -%}
    <style>
      body {
        background-image: url("https://images.unsplash.com/photo-1592450865877-e3a318ec3522?ixlib=rb-1.2.1&auto=format&fit=crop&w=2255&q=80");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
      }
      .prompt-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        width: 480px;
        height: 100%;
        justify-content: center;
        background-color: rgb(60,60,60);
      }
    </style>
    <title>{{ prompt.screen.texts.pageTitle }}</title>

  </head>
  <body class="_widget-auto-layout">
    {% if prompt.name == "login" or prompt.name == "signup" %} 
        <div class="prompt-wrapper">
        {%- auth0:widget -%}
        </div>
    {% else %}
        {%- auth0:widget -%}
    {% endif %}
  </body>
</html>

I’ll appreciate any help.
Thanks

Hey, you need to get your AM to request access to this feature as its EA and requires opt-in, otherwise youve done the other steps I did as per the guide to get it started.

Recently requested it on a 2nd tenant and it took ~10days to be flagged active(didnt get comms was just a case of check on mon or fris if youre bundled it in on the chg)

1 Like

Any Answers from the Auth0 team here? running through the same issue.

In case anyone else stumbles across this with similar trouble, it’s not at all obvious how this works.

This page will help greatly - there’s a video there that you can pause your way though, and there are paste-able examples from the video below it:

HOWEVER … none of that works (which is the topic of this original post) until, as the instructions say, “A Custom Page Template should be configured”.

However, how to do that is not obvious.

THERE IS NO GUI FOR IT. You have to the do it all with the Management API. This page (it’s really LOTS of pages) documents the Management API in general:

https://auth0.com/docs/api/management/v2/introduction

SPECIFIALLY, to satisfy the “A Custom Page Template should be configured” requirement to avoid the error in this post, look here:

https://auth0.com/docs/customize/login-pages/universal-login/customize-templates

…and scroll WAY down do " Page templates API".

It shows you 3 CURL commands for Setting, Retrieving, and Deleting the template.

Just run the “Set” one (you’ll need to paste your own API Management Token in there, which is shown in the video in the first link), and after that, your Management API calls will work to do things like add extra fields to the Sign On prompt:

https://auth0.com/docs/api/management/v2/prompts/put-partials

Hope all of this helps someone.