Skip to content

How does the jwt invlalidating works ? #2255

Open
@elhannaoui-ayoub

Description

@elhannaoui-ayoub

Please how can you invalidate a token to log out a user ?
I saw yout documentation i found that you can invalidate a token ( auth()->invalidate() ) or blacklist it without the need of a database , how can that be possible ?

Activity

abdelrhman-saeed

abdelrhman-saeed commented on May 5, 2024

@abdelrhman-saeed

i asked the same question too, there is no database to black list the tokens, maybe he has some type of serialized array that he stores the black listed tokens ? idk

and its documentation is not complete i don't think this package is reliable

RahulDey12

RahulDey12 commented on Jun 23, 2025

@RahulDey12

IMO, go for a PHP-based stable JWT lib. then implement on laravel. Or I can create my own library that's more modern.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @RahulDey12@abdelrhman-saeed@elhannaoui-ayoub

        Issue actions

          How does the jwt invlalidating works ? · Issue #2255 · tymondesigns/jwt-auth