tymondesigns / jwt-auth

🔐 JSON Web Token Authentication for Laravel & Lumen
https://jwt-auth.com
MIT License
11.28k stars 1.55k forks source link

Invalidate token not working #2046

Open exhum4n opened 3 years ago

exhum4n commented 3 years ago

Subject of the issue

Invalidate token not working.

Your environment

Q A
Bug? yes
New Feature? no
Framework Laravel
Framework version 7.0
Package version 1.0.1
PHP version 7.2.5

Steps to reproduce

After authorization i receive the token. I use it to authenticate and they work well. Now i try to invalidate token using this code JWTAuth::invalidate(JWTAuth::getToken());

Expected behaviour

After invalidation the token, I shouldn't be able to reuse it

Actual behaviour

I can use invalidated token

rsmmukesh commented 3 years ago

Yes, for me same problem

wesslim commented 2 years ago

Issue still exist....

mlproexe commented 2 years ago

Confirm, this bug still exists