Commit Graph

13 Commits

Author SHA1 Message Date
admin 0017432deb fix payload 2026-02-25 16:22:10 +08:00
admin ed2eb67912 fixed query 2026-02-20 14:18:25 +08:00
admin fee314870d feat(auth): support multiple user roles in JWT and services
- Change JWT access token RoleID claim from int to []int to support multiple roles per user
- Update all token generation and refresh logic to handle multiple role IDs as []int
- Refactor services to return and process multiple role IDs from user_roles table
- Fix OAuth state handling explanation and improve code comments
- Clean up related function signatures and usages for consistency
2026-02-03 16:35:08 +08:00
admin f4b8651a5c fixed multiple roles! 2026-02-03 11:01:48 +08:00
admin 98f1705f72 fix 2026-01-27 13:20:03 +08:00
admin ac0ff00880 fix tests 2026-01-27 10:58:24 +08:00
admin 47f32c9f2e used RSA instead of HMAC signing 2026-01-05 10:44:23 +08:00
admin e54d121558 adjusted to fit the URS for JWT expiration time 2026-01-05 09:40:48 +08:00
admin ee45b546a3 added fetching of role_id 2025-12-18 10:25:04 +08:00
admin 8c67cd38e7 fixed 2025-12-15 14:10:10 +08:00
admin 44f7ddc1e3 fixed 2025-12-15 10:39:13 +08:00
admin 7c87114b30 fixed 2025-11-26 11:31:09 +08:00
admin 052c7e0cca init commit 2025-11-25 15:12:31 +08:00