Commit graph

11 commits

Author SHA1 Message Date
Max
77b991ed20 feat: Upgrade JWT library and enhance token validation
- Update JWT library from v3.2.2 to v4.5.2 for improved security and features.
- Refactor JwtClaims to use RegisteredClaims for better compliance with the latest JWT standards.
- Introduce token length and format validation in JwtValidate function to enhance security.
- Modify JwtMake function to utilize time.Duration for timeout settings, improving clarity and usability.
2025-04-16 14:43:09 +08:00
yflau
1ac37b048f return 401 for invalid token 2024-08-04 12:54:05 +08:00
Max
89fbbdf314 [add] sui page debug log 2023-10-28 16:41:52 +08:00
Max
a807899f95 [*] migrate to gou v0.10.3 (50%) 2023-02-01 17:25:11 +08:00
Max
9fb8ef2ab6 [add] yao studio api jwt auth support 2022-10-14 18:25:36 +08:00
Max
5ce9df8495 buid-in dashboard security update 2022-02-17 17:05:25 +08:00
Max
34f4382c19 更新命名空间 2022-02-09 09:17:23 +08:00
Max
ea72f26d5e 调整环境变量 2022-02-09 00:49:57 +08:00
Max
2c597509c7 JWT 鉴权 2021-11-22 00:42:53 +08:00
Max
be9b0007cb JWT 返回过期时间 2021-11-21 22:52:58 +08:00
Max
3f68510076 + JWT, Captcha, Password 校验 2021-11-21 21:15:33 +08:00