I am trying to get the Cognito username from within my lambda function. I have enabled my api gateway to use "Use Lambda Proxy integration". It is now returning the identity object but cognitoIdentityId is returning null?!?
Is there something I am missing?
UPDATE As usual, I missed something vital! On that POST API, I did not select the Authorization user pool. DUH!