We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We've all seen these annoying warnings for a long time. I've stumbled across a fix so recording the issue here so I can record a fix against it:
[WARN ] 2020-09-07 14:14:39.540 [nREPL-session-9ee343f0-4be9-455d-8a24-c263cdf781ef] ResponseProcessCookies - Invalid cookie header: "Set-Cookie: did=s%3Av0%3A15b9a150-f10c-11ea-a8cf-13f852d23ac2.LT1AtjEjsFfXQAuT0RHJxXHgL0iV3Ozzzg08z9kbVR8; Max-Age=31557600; Path=/; Expires=Tue, 07 Sep 2021 19:14:39 GMT; HttpOnly; Secure; SameSite=None". Invalid 'expires' attribute: Tue, 07 Sep 2021 19:14:39 GMT
The text was updated successfully, but these errors were encountered:
@RickMoynihan A clue! 🕵🏼
I think there might be an issue with the cookie Max-Age=31557600 - probably copied from the token_lifetime value in this auth0 docs example:
Max-Age=31557600
token_lifetime
https://auth0.com/docs/secure/tokens/refresh-tokens/configure-refresh-token-rotation
I believe that the Max-Age value can be no higher than 31536000 for a year in seconds (ignoring leap years etc.).
Max-Age
31536000
The expires part of the error could be misleading because it is likely calculated from the Max-Age. Could it be that? 🤔
expires
https://ashton.codes/set-cache-control-max-age-1-year/
I just found a related issue in muttnik, where we were setting this value too high.
Sorry, something went wrong.
Relates to muttnik issue https://github.com/Swirrl/muttnik/issues/315
No branches or pull requests
We've all seen these annoying warnings for a long time. I've stumbled across a fix so recording the issue here so I can record a fix against it:
The text was updated successfully, but these errors were encountered: