luckyframework / luckyframework/lucky
There is no way to force-logout JWT tokens
Open
Nobody has claimed this yet.
feature request
- Dominant language
- Crystal
- Stars
- 2.7k
- Forks
- 172
- PR merge metrics
- No merged PRs in 30d
Description
Lucky does not have a way to revoke API authentication JWT token. While the clients can delete it themselves, force-logout (e.g. lost device) is not possible.
Worth reading:
https://evertpot.com/jwt-is-a-bad-default/
What about providing a database-based session too?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Begin by locating Lucky's JWT authentication implementation, then read the linked JWT discussion and clarify whether the goal is token revocation, database-backed sessions, or both; done means a lost device can be force-logged out.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- crystal
- Domain
- authentication
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100