Auth0-spa-js loginwithredirect to signup-password screen?

I have been unable to figure out how to set the /authorize link such that it opens to the signup-password screen in the New Universal Login flow. I’ve tried setting prompt = signup-password but it still just opens to the sign up screen and not the signup-password screen.

https://wesparkleorg-dev.auth0.com/authorize?client_id=ypjIri253GGK9EBAa03urDPs02JzYD7O&scope=openid+profile+email&redirect_uri=http%3A%2F%2Flocalhost%3A3000&login_hint=free%40sharklasers.com&screen_hint=signup&prompt=signup-password&response_type=code&response_mode=query&state=ck1RTE4xY2tvZXdvQlJsbzkxY1dTSWRDMl9abVU5VG5LbmNva000LjhRdQ%3D%3D&nonce=MUpBVUZPcjEzVmV%2BRGhaRUVrZGNYWjdFSnJER2tpYmtNMUc0S3NfdTduZg%3D%3D&code_challenge=Gh2i5DFg-Dwt6GdTMAHXC0PfHA7e8cms2b6S9xUPlBo&code_challenge_method=S256&auth0Client=eyJuYW1lIjoiYXV0aDAtc3BhLWpzIiwidmVyc2lvbiI6IjIuMC40In0%3D

Hey there @wesparklemaster! Welcome to auth0!

I have the same results but as there’s not that big difference in the appearance between the two screens, and as a workaround, you could try to update the signup screen to look like the signup-password one. To do so, you can call the management API to update the title and description to be the same as in the signup-password:

curl --request PUT \
  --url 'https://your_custom_domian/api/v2/prompts/signup' \
  --header 'authorization: Bearer MGMT_API_ACCESS_TOKEN' \
  --header 'content-type: application/json' \
  --data '{ "signup": { "title": "Create your account", "description": "Set your password for ${companyName} to continue to ${clientName}" } }'

And then invoke the updated signup screen as you did in your URL above. Hope this will help!

1 Like

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