{"action":"created","issue":{"url":"https://api.github.com/repos/GetBlimp/django-rest-framework-jwt/issues/105","labels_url":"https://api.github.com/repos/GetBlimp/django-rest-framework-jwt/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/GetBlimp/django-rest-framework-jwt/issues/105/comments","events_url":"https://api.github.com/repos/GetBlimp/django-rest-framework-jwt/issues/105/events","html_url":"https://github.com/GetBlimp/django-rest-framework-jwt/issues/105","id":70916347,"number":105,"title":"expire tokens on changing password","user":{"login":"aliva","id":359286,"avatar_url":"https://avatars.githubusercontent.com/u/359286?v=3","gravatar_id":"","url":"https://api.github.com/users/aliva","html_url":"https://github.com/aliva","followers_url":"https://api.github.com/users/aliva/followers","following_url":"https://api.github.com/users/aliva/following{/other_user}","gists_url":"https://api.github.com/users/aliva/gists{/gist_id}","starred_url":"https://api.github.com/users/aliva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aliva/subscriptions","organizations_url":"https://api.github.com/users/aliva/orgs","repos_url":"https://api.github.com/users/aliva/repos","events_url":"https://api.github.com/users/aliva/events{/privacy}","received_events_url":"https://api.github.com/users/aliva/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-25T14:18:40Z","updated_at":"2015-04-29T12:46:20Z","closed_at":null,"body":"after changing my password my old tokens are still working, I think changing password should expire all old tokens,\r\n\r\nI didn't find anything about that on docs, so I think it an issue with drf-jwt"},"comment":{"url":"https://api.github.com/repos/GetBlimp/django-rest-framework-jwt/issues/comments/97416205","html_url":"https://github.com/GetBlimp/django-rest-framework-jwt/issues/105#issuecomment-97416205","issue_url":"https://api.github.com/repos/GetBlimp/django-rest-framework-jwt/issues/105","id":97416205,"user":{"login":"NabeelValapra","id":6704555,"avatar_url":"https://avatars.githubusercontent.com/u/6704555?v=3","gravatar_id":"","url":"https://api.github.com/users/NabeelValapra","html_url":"https://github.com/NabeelValapra","followers_url":"https://api.github.com/users/NabeelValapra/followers","following_url":"https://api.github.com/users/NabeelValapra/following{/other_user}","gists_url":"https://api.github.com/users/NabeelValapra/gists{/gist_id}","starred_url":"https://api.github.com/users/NabeelValapra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NabeelValapra/subscriptions","organizations_url":"https://api.github.com/users/NabeelValapra/orgs","repos_url":"https://api.github.com/users/NabeelValapra/repos","events_url":"https://api.github.com/users/NabeelValapra/events{/privacy}","received_events_url":"https://api.github.com/users/NabeelValapra/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T12:46:20Z","updated_at":"2015-04-29T12:46:20Z","body":"How about saving the jwt to db (redis or something), while authenticating check the jwt and is_jwt_in_db() else return false,\r\nSo on password change or phone stolen scenario it will not authenticate? \r\n "}}