Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Also support --disableCookieValidation when we createResourceRoutes. #975

Conversation

randytarampi
Copy link
Contributor

This should close #974 by forward porting my v5 solution from #863.

Requests to resourceRoutes created behind an API Gateway Proxy (i.e., running with --resourceRoutes) would fail due to hapi just exploding on the cookie validation.

This just rips off the strategy in #513 (specifically 5d9a67a) and #863

Much of the credit here goes to @cassiohub (@cassiohubner on GitLab).

__This should close dherault#974 by forward porting my v5 solution from https://github.com/dherault/serverless-offline/pull/863__.

Requests to `resourceRoutes` created behind an API Gateway Proxy (i.e., running with `--resourceRoutes`) would fail due to hapi just exploding on the cookie validation.

This just rips off the strategy in dherault#513 (specifically dherault@5d9a67a) and dherault#863

Much of the credit here goes to @cassiohub (@cassiohubner on GitLab).
@dherault dherault merged commit 7d40506 into dherault:master May 5, 2020
@randytarampi randytarampi deleted the fix/support-disabling-cookie-validation-on-resource-routes branch May 5, 2020 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

We should support --disableCookieValidation when we createResourceRoutes.
2 participants