I am using devise-jwt gem, from what I see on the wrapped gem https://github.com/waiting-for-dev/warden-jwt_auth
there is a static method revoke_jwt(payload, user)
I want to write a script that will revoke access on a specific user, what will be the payload in this case?
Revoke access to devise-jwt on Denylist strategy
359 views Asked by Petros Kalafatidis At
1
If you are using denylist you should add the jti value to the denylist table on revoke. Look at mine.