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

203
Visualizações
AWS Amplify does not request email on user signIn after a signOut

My application uses G-Suite with AWS Cognito in order to authenticate users. At the first sign in, if the user has no profiles (which is configured by a devops team), it will receive a 403 page with a logout button. What I want is: when the user clicks the button and is redirected back to the login page, on the next login attempt AWS should ask AGAIN with which e-mail the user would like to use. Right now, after the logOut, the next signIn attempt will automatically use the previous e-mail.

I looked everywhere into the documentation, and Auth.signOut has only a global option, nothing about e-mail choosing.

My button is fairly dummy. This is the code inside it:

async function logOut() {
        localStorage.clear()
        await Auth.signOut();
    }

I tried removing the async/await, tried logging .then() and .catch(), but got nothing.

about 4 years ago · Juan Pablo Isaza
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