Rahul Goti
Rahul Goti

Reputation: 1040

Spring Boot : How to generate new access token once it gets expired?

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

Answers (2)

Trần Quốc Vũ
Trần Quốc Vũ

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

wl.GIG
wl.GIG

Reputation: 316

Maybe your description is not clear. For your question, just generate it like the first one.

Upvotes: 0

Related Questions