Skip to content

Protect against replayed tokens #9

@lukpueh

Description

@lukpueh

Currently, token replay is only protected by token expiration. This leaves a small window of opportunity for attackers.

This can be fixed by storing used token identifiers ( warehouse uses issuer + jti claims) and disallow reuse. The data only needs to be persisted until after the token has expired.

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