You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get the cookies via request object (request.headers.get('Cookies')) in the context function, that I assume will work.
However I also want to grab the response object in the context function, which I believe is available in node.js environment, but not sure if it is available in the lambda env or not.
If not is there a way to send cookies with the actual response after generating them.
I have a login resolver query that upon authentication will send a httpOnly cookie and a data cookie back to the UI.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi I am using the integration with AWS Lambda sample from below link 👇🏼
https://the-guild.dev/graphql/yoga-server/docs/integrations/integration-with-aws-lambda
I am trying to get the cookies via request object (request.headers.get('Cookies')) in the context function, that I assume will work.
However I also want to grab the response object in the context function, which I believe is available in node.js environment, but not sure if it is available in the lambda env or not.
If not is there a way to send cookies with the actual response after generating them.
I have a login resolver query that upon authentication will send a httpOnly cookie and a data cookie back to the UI.
Beta Was this translation helpful? Give feedback.
All reactions