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:
- Make sure your tenant has a Custom Domain configured. OK (status ready).
- 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.
- 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