jwt-auth
jwt-auth copied to clipboard
How does the jwt invlalidating works ?
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 ?
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
IMO, go for a PHP-based stable JWT lib. then implement on laravel. Or I can create my own library that's more modern.