Skip to content

Allow to disable expiration time claim #105

@beenje

Description

@beenje

I'd like to generate access tokens that never expire (for use in other applications that access the API).

The "exp" claim is optional in PyJWT but not in flask-jwt-extended.

I guess this could be achieved by passing expires_delta=0 or 'never' or something similar.
Would you be interested to integrate this change if I make a pull request?

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