Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

235
Vistas
(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 Respuestas
Responde la pregunta

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 Denunciar

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda