Skip to content

Introspection cache should use exp property for invalidation #35

@iperdomo

Description

@iperdomo

When using token introspection, usually you get exp property to know when the token will expire.

exp: OPTIONAL. Integer timestamp, measured in the number of seconds since January 1 1970 UTC,
indicating when this token will expire, as defined in JWT

See: https://tools.ietf.org/html/rfc7662#section-2.2

The current code uses a custom expires_in property for the TTL in the cache.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions