Skip to content

Default cookie expiration way too long #243

@allen-cook

Description

@allen-cook

When you set
JWT_SESSION_COOKIE = False to enable permanent cookies, the expiration date set by default is way too long and the browser will sometimes treat it as invalid and set the cookie as a session cookie anyway.

Expiration dates on permanent cookies typically need to be before 2038 since it's specified in a UNIX epoch format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions