Skip to content

How does Sliding Token make the backend less performant?  #738

Open
@zzhangJ

Description

@zzhangJ

Quote from the documentation about Sliding tokens:

"...less secure and, in the case that the blacklist app is being used, less performant."

Later it says:

"...if you are using the blacklist app, Simple JWT will validate all sliding tokens against the blacklist for each authenticated request. This will reduce the performance of authenticated API views."

What does it mean it will validate all sliding tokens? I thought the view only needs to validate the sliding token that is in the request against the blacklist data table, and the impact on performance would be the same whether it is a sliding token or a fresh token.

Correct me if I'm wrong.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions