9 Commits

Author SHA1 Message Date
Yang Luo
802df55009 Switch to github.com/golang-jwt/jwt 2021-10-10 11:06:54 +08:00
Yang Luo
4f2668cd90 Remove password in JWT token payload. 2021-10-03 22:08:40 +08:00
Yang Luo
d79544f34a Use User in Claims. 2021-08-14 14:15:52 +08:00
Yang Luo
58c7a60220 Show error in AccessToken. 2021-06-01 22:03:04 +08:00
Yang Luo
987bb14a6b Add more fields to Claims. 2021-04-27 00:43:38 +08:00
Yang Luo
4ea6529969 Add Avatar to claims. 2021-03-28 21:57:22 +08:00
Yang Luo
f5ceae901b Support auto-login. 2021-03-28 16:53:49 +08:00
Yang Luo
df948e9e34 Fix JWT token bugs. 2021-03-14 23:08:08 +08:00
Yang Luo
f014554415 Generate real access token. 2021-03-14 22:48:09 +08:00