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

110
Views
Cognito's not triggering Pre-Token Generation Lambda when signing in with an Identity Provider

My basic setup is a NuxtJs App, a Hasura server, and Cognito for auth. I've setup a cognito user pool and client through terraform and everything was working fine. When I tried adding a login with FB, the pre-token generation trigger isn't fired, so the custom claims aren't added to the token.

The aws documentation for cognito didn't mention this, so have you came across this issue before?

Bonus: I also noticed that logging in with Facebook created a new user even if the email already exist for another user in the user pool, although the id and email are mapped to the cognito attributes username and email

about 4 years ago · Santiago Trujillo
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!