New Universal Login experience - Custom prompts not working

I am getting responses with OK 200 from the management API to customize prompts at signup page, but they are being ignored and I m still being shown the default texts. Any hints on where to look up?

curl command:

curl -X PUT -H "Accept:application/json, text/plain, */*" -H "Content-Type:application/json" -H "Authorization:Bearer <long token>" --data '{"signup":{"title":"Sign up to Taringa testing"}}' "https://taringa-dev.us.auth0.com/api/v2/prompts/signup/custom-text/en"

screenshot:

Hi @rafael.rodriguez ,

Welcome to the Auth0 Community!

I tested this endpoint with Postman and it’s working fine. Could you please try the below scripts and see if it works?

curl --request PUT \
  --url 'https://YOUR_DOMAIN/api/v2/prompts/signup/custom-text/en' \
  --header 'authorization: Bearer MGMT_API_ACCESS_TOKEN' \
  --header 'content-type: application/json' \
  --data ''{"signup":{"title":"Sign up to Taringa testing"}}'

Thanks!

The endpoint works well. It returns a 200 OK. The problem is in the screenshot: the text is not updated. Furthermore, issuing the counter part GET of this endpoint also returns the updated text. It is not reflecting in the UI.

Hi @rafael.rodriguez ,

I checked your tenant and noticed that under Authentication Profile, the login flow has Identifier first selected. For this use case, the screen and prompt should be signup-id, not signup. please use the below scripts to update the title.

curl --request PUT \ --url 'https://YOUR_DOMAIN/api/v2/prompts/signup-id/custom-text/en' \ --header 'authorization: Bearer MGMT_API_ACCESS_TOKEN' \ --header 'content-type: application/json' \ --data ''{"signup-id":{"title":"Sign up to Taringa testing"}}'

Thanks!

1 Like

That did the trick, thank you!

You are very welcome :grin:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.