2

I'm writing a lambda to customize the claims on the accessToken before the token is generated. I need to call an external API with data from my Cognito user pool to get information to customize the claim. This lambda would be triggered before sign in. How do I get a specific field for a particular user from the pool?

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470
Saakina
  • 275
  • 1
  • 2
  • 9

0 Answers0