Request body idToken and access token is received as undefined when lambda integration is turned on, in serverless #1722
Unanswered
karthikpower
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to enable lambda integration for auth endpoint which is post and expects idToken and accessToken in its payload. When I observe cloudwatch log printing req.body.idToken or req.body.accessToken I see it is printed as undefined but when turning off lambda integration I see idToken and accessToken getting printed. So I want to understand if there is any limit that can be passed in payload if integration is turned on?
Here is my serverless.yml
This is the sample payload,
Has anyone faced this when lambda int is turned or any suggestion would be of great help, thanks.
Beta Was this translation helpful? Give feedback.
All reactions