myshenin / aws-lambda-multipart-parser

Parser of multipart/form-data requests for AWS Lambda
MIT License
74 stars 38 forks source link

how to use with aws-serverless-express #10

Closed syntacticsolutions closed 6 years ago

syntacticsolutions commented 6 years ago

Hi, I'm using passport.js to authenticate and the Okta SAML strategy that we are using is sending multipart/form-data to my express server where I am then using that data to authenticate and parse out user info. This require express in order to work, but as you know api-gateway doesn't support multipart/form-data. Do you know of a way to use this with aws-serverless-express?

myshenin commented 6 years ago

I don't use aws-serverless-express, because even its name is weird for me. Serverless = without server, express = server. Only big necessity may force you in using the library (consider using another auth library). You are able to use my library even with server, just follow README instructions and use the library. README will help you setting up API Gateway and library will parse data.

myshenin commented 6 years ago

close for lack of activity