Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Revoke JWT refresh_token #89
Can't find any info in the documentation how to get user's refresh tokens.
Also if I revoke
You can decrypt the token using
Adonis gives both options, since some apps wants to store historical tokens. However you can simply delete them.
const decrypted = Encryption.decrypt(token) await Token.query().where('token', decrypted).delete()
I will add