Mike Bernard
02/07/2022, 9:57 PMrequestFilter
to intercept each request and add the auth to the headers, but the request object passed in doesn't contain a body.
I've attempted to use SAM CLI to host the API gateway (to bypass auth) but it seems the way we've structured our stacks, the automated sam local start-api
command can't find the lambda functions that we tie to each api. Only other way to use SAM afaik is to hardcode each endpoint into the template.yaml file, and include each request/response model, which isn't viable for our teams to do. TIA!Yousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
Mike Bernard
02/08/2022, 7:23 PMYousaf Nabi (pactflow.io)
Mike Bernard
02/08/2022, 8:18 PMMike Bernard
02/08/2022, 8:54 PMnext
callback to be executed.Mike Bernard
02/08/2022, 9:08 PMYousaf Nabi (pactflow.io)
Mike Bernard
02/09/2022, 1:55 PM