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

173
Visualizações
Getting cognito email verified directly from your app by sending verification code to Cognito

I am making an app and I am using Cognito for auth. However, When I register, the account shows up in cognito but I receive a verification code and I have to manually confirm the account. I have a screen where I let the user add the code that they received to activate their account. Can anybody help me on what call do I send to Cognito in order to activate my account without having to manually confirm?

const signup = (event) => {
    event.preventDefault();
    if (formValidation()) {
      UserPool.signUp(username, password, [], [], (err, data) => {
        if (err) console.error(err);
        console.log(data);
      });
    }
  };

This is the function I am using to sign up users. How do I confirm the user?

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

0

You can use admin confirm sign up to confirm user without entering the verification code. As this is an admin method, the call will need to be authenticated with AWS credentials that have the right to perform this action.

Link to documentation: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CognitoIdentityServiceProvider.html#adminConfirmSignUp-property

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