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

fix: Expires cookie being larger than 400 days #1694

Closed
wants to merge 1 commit into from

Conversation

josssch
Copy link

@josssch josssch commented Sep 11, 2024

I was experiencing some issues when using expires: false in my sessionCookie with Hono, as it now throws an error under cases where Expires or maxAge exceed 400 days from now. Their reasoning behind this error is due to following this RFC.

This PR should hopefully fix the error from being thrown and help prevent unwanted behaviour. Even on browser-side.

Related PRs (better spoken ones):
honojs/hono#2762
supabase/ssr#37
supabase/ssr#54

@pilcrowonpaper
Copy link
Member

Sorry, fixed the issue in 3.2.2

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.

3 participants