-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
server regression: JWK is rejected due to Cache-Control header parsing #3655
Comments
lexi-lambda
added
k/bug
Something isn't working
c/server
Related to server
p/urgent
Immediate action required
labels
Jan 7, 2020
26 tasks
The problem still persists when server replies with |
@plouh thanks for reporting and sorry for the inconvenience! My bad I should have tested that case. I will try to push a fix by today. |
No problem at all, it's been a great pleasure to use hasura. We use keycloak as our identity provider, if it helps to reproduce the issue. |
ecthiender
added a commit
to ecthiender/graphql-engine
that referenced
this issue
Jan 27, 2020
- fix when header parsing fails on startup, do not exit - change qualified import of aeson in Auth.JWT from A to J to be consistent with the rest of the codebase
7 tasks
polRk
pushed a commit
to polRk/graphql-engine
that referenced
this issue
Feb 12, 2020
write a proper parser according to the RFC https://tools.ietf.org/html/rfc7234#section-5.2
polRk
pushed a commit
to polRk/graphql-engine
that referenced
this issue
Feb 12, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As reported on Discord, the changes in #3446 do not always properly parse the value of the
Cache-Control
header, causing the server to fail to start. For example, the response returned by Google Cloud IAM includes a header of the shapeand this is rejected by
graphql-engine
on startup, causing it to exit with the following somewhat unhelpful message:It would be nice if we could use some existing, off-the-shelf parser to parse this information, not roll our own.
The text was updated successfully, but these errors were encountered: