apache / apache/incubator-seata
implement the JWT renewal mechanism
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26k
- Forks
- 8.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Description
Why you need it?
1.For console , avoid popping up the login dashboard when using.
2.For client, prevent frequent login and token refresh.
Is your feature request related to a problem? Please describe in details
#6042
How it could be?
A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.
When the old token included in the request sent to the server is about to expire, the server returns a new token.
Other related information
Add any other context or screenshots about the feature request here.
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
Start by reading the related issue #6042 and tracing how the server validates tokens and handles requests near token expiry. Done means an about-to-expire token causes the server to return a new token, preventing repeated login or refresh for console and client users.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- authentication, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100