I use AWS Identity Pool with Facebook provider to authenticate client. I need to invoke AWS Lambda using Api Gateway. From Cognito, using Facebook token, i received credentials: AccessKeyId, SecretKey and SessionToken.
Using this credentials, how should I setup header request to invoke my Lambda?
Api Gateway setup (test calls my lambda)
I try to call my api, it returns "The security token included in the request is invalid."
Thank you!
The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method
Error. Basically i am using federated identity and getting Temporary creds and using them in postman . – Positive