Reputation: 1040
I am implementing JWT token in microservice based architecture. How can I generate new access token once it gets expired in spring boot?
Upvotes: 2
Views: 963
Reputation: 467
Create refresh_token
and access_token
after login success, when access_token
is expired, use refresh_token
to create new access_token
.
Upvotes: 2
Reputation: 316
Maybe your description is not clear. For your question, just generate it like the first one.
Upvotes: 0