jazzband / djangorestframework-simplejwt

A JSON Web Token authentication plugin for the Django REST Framework.
https://django-rest-framework-simplejwt.readthedocs.io/
MIT License
3.83k stars 653 forks source link

Verify check tell refresh token is ok, anyway that is blacklisted #786

Open triplaj opened 2 months ago

triplaj commented 2 months ago

when I dont use any rotation features, then mine settings are "BLACKLIST_AFTER_ROTATION": False and that cause when refresh token is black listed then cannot verify refresh token, response always ok..

fix is set "BLACKLIST_AFTER_ROTATION" to True. but this need to tell if somewhere use blacklist feature and try to verify refresh token.