简体   繁体   中英

feathers js: how to validate access token

So after authenticating I get an access token in which I store in browser session. My question is, in case user refreshes, how do I validate the token?

So I figured it out just use /authentication AND use jwt strategy:

https://dove.feathersjs.com/api/authentication/jwt.html

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