Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

229
Views
(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 answers
Answer question

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 Report

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!