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(nuxt): session cookie max age #1576

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

fix(nuxt): session cookie max age #1576

wants to merge 1 commit into from

Commits on Oct 3, 2024

  1. fix(nuxt): session cookie max age

    The maxAge being set to cookie browser is equal to 432,000,000 seconds = 5,000 days
    
    Root cause: The maxAge in setCookie() method from 'h3' has unit of seconds. Meanwhile, the expiresIn in firebase admin.createSessionCookie() has a unit of milliseconds.
    jcap97 authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    6a50181 View commit details
    Browse the repository at this point in the history