-
Notifications
You must be signed in to change notification settings - Fork 404
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
middleware skips signature validation when 'x-line-signature' header is not set. #25
Comments
In the case, the body will not be parsed. However, if any body parser is used after the middleware, the body will be parsed as usual and the server can be spoofed as you assumed. I think it's better to throw |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
in middleware.ts
what happens if someone request without
x-line-signature
header?The text was updated successfully, but these errors were encountered: