Custom Authorizers wont' send CORS headers
zanona opened this issue · comments
Hi, I know this repository is about the imported but I didn't know where to post this.
I am trying to use custom authorizers which are all set.
However those won't return necessary CORS headers so we can use through AJAX calls when returning 401 unauthorized responses.
How can we build dynamic apps this way?
You can try posting your question to the official API Gateway forums at https://forums.aws.amazon.com/forum.jspa?forumID=199&start=0
thanks for the link Lorenzo I will try it over there.
Running into this as well...AWS has explicitly identified this as an issue and not been able to provide a fix nor a workaround in +1 year
That's is indeed quite frustrating @mariogintili
Please see:
I think this is fixed now, right?
- https://stackoverflow.com/questions/40585016/is-it-possible-to-add-an-http-header-from-aws-custom-auth-on-api-gateway
- http://docs.aws.amazon.com/apigateway/latest/developerguide/use-custom-authorizer.html#api-gateway-custom-authorizer-output
Does that work for CORS?