I am implementing JWT token in microservice based architecture. How can I generate new access token once it gets expired in spring boot?
登录成功后,创建refresh_token
和access_token
,当access_token
过期时,请使用refresh_token
创建新的access_token
。
Maybe your description is not clear. For your question, just generate it like the first one.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.