Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

363
Visualizações
How can I launch the registration page using @auth0/auth0-react?

I've been stuck trying to get the sign up page (registration) to launch by default using @auth0/auth0-react. In the past, I used to send mode which used to work in auth0-js.

I've tried the following to no avail:

 const { loginWithRedirect } = useAuth0();
 loginWithRedirect({
      // screen_hint: 'signUp'
      screen_hint: 'signup',
      ui_locales: 'es',
    });

How can I make it work again?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

According to https://community.auth0.com/t/can-not-get-screen-hint-to-work/46519, the problem is that in the Admin panel I have selected the classic experience, whereas these parameters only work for the new experience.

Nonetheless, you can pass any arbitrary variable and it will be sent as a GET parameter. Therefore, we can pass our traditional mode and it will work:

  const { loginWithRedirect } = useAuth0();

  loginWithRedirect({
      screen_hint: 'signup',
      ui_locales: 'es',
      mode: 'signUp',
    });

Check if you have the classic or new experience in your dashboard by going to:

  • Branding -> Universal Login enter image description here

enter image description here

As you can see, I had the classic experience enabled.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda