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

243
Visualizações
(aws-amplify / cognito) first name, last name and date of birth attributes to check if an account is associated with given values

By using Angular and aws-amplify, would it be possible to poll for an existing account in cognito if the only attribute that I am capturing are first name, last name and date of birth? This will pretty much void auth in a way.

Please note: Our application does not allow any new library to be imported. We are working with what we have.

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

0

Certainly it is possible to write a piece of code which queries user pool and informs if there is a match.

Alternative 1: Enable Amplify AdminQueries API and use listUsers to retrieve users. Command syntax allows using AttributesToGet and Filter to modify the query.

{
   "AttributesToGet": [ "string" ],
   "Filter": "string",
   "Limit": number,
   "PaginationToken": "string",
   "UserPoolId": "string"
}

Alternative 2: If possible, use Cognito API directly. @aws-sdk/client-cognito-identity-provider has the class ListUsersCommand. Its interface ListUsersCommandInput has properties AttributesToGet and Filter which can be used to fetch desired results.

about 4 years ago · Juan Pablo Isaza Relatório

0

I have managed to find a solution to my specific problem. By using confirmSignUp, I can catch the result and add a conditional statement within its scope.

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