serverless-authentication-boilerplate icon indicating copy to clipboard operation
serverless-authentication-boilerplate copied to clipboard

Cors headers in unauthorized response

Open patrickcorrigan opened this issue 8 years ago • 1 comments

Hello, I'm using your auth framwork and am very happy with it. I cannot seem to figure out how to get the unauthorized 401 messages to include cors headers. What do you recommend?

patrickcorrigan avatar Jun 10 '17 13:06 patrickcorrigan

Looks like it's an api gateway limitation http://forum.serverless.com/t/how-to-enable-cors-for-custom-authorizers-aws-api-gateways/1660

patrickcorrigan avatar Jun 10 '17 15:06 patrickcorrigan