简体   繁体   中英

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?

登录成功后,创建refresh_tokenaccess_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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM