Commit Graph

18 Commits

Author SHA1 Message Date
0xJacky
fb37c94276 feat: implement short token endpoint for WebSocket authentication
- Added `InitTokenRouter` to define the `/token/short` endpoint for issuing short tokens.
- Created `IssueShortToken` function to handle short token generation and response.
- Updated WebSocket middleware to require short token for authentication, preventing CSWSH attacks.
- Modified user store and login handling to integrate short token functionality.
- Enhanced documentation to reflect changes in WebSocket security requirements.
2026-04-02 00:06:04 +08:00
Jray
0e7ea57110 feat: support oidc login (#1488) 2025-12-15 21:56:59 +08:00
Jacky
1dbb852a57 feat(user): persists prefer language in db #1155 2025-06-23 07:31:15 +00:00
Jacky
0808eb09c3 feat: implement user profile management 2025-05-24 13:28:57 +00:00
Hintay
121287df21 Merge branch 'dev' into refactor/otp 2025-02-10 23:41:11 +09:00
Hintay
0d1f56a43e feat: new recovery codes 2025-02-09 23:36:28 +09:00
Jacky
20531971cf feat: encrypt login and install request #852 2025-02-07 21:10:11 +08:00
Jacky
465eae9858 refactor: user curd 2025-01-31 23:11:14 +08:00
Jacky
7ad5cac3b8 feat(wip): site category 2024-10-26 10:39:31 +08:00
Jacky
f42a6c2d08 enhance: by default, passkey is used for 2fa if passkey is used to login 2024-09-16 13:57:31 +08:00
Jacky
0a6a7693a1 feat: 2fa via passkey 2024-09-16 11:18:14 +08:00
Jacky
bdfbbd0e8f feat: login via passkey 2024-09-15 20:32:03 +08:00
Jacky
796005fad4 fix: unable to recover user from trash or permanently delete them #552 2024-09-15 10:14:40 +08:00
Jacky
11c733547f feat: save settings required 2fa if enabled otp 2024-07-26 17:56:45 +08:00
Jacky
1c1da92363 feat: deploy config to remote nodes #359 2024-07-26 13:53:38 +08:00
Jacky
3a22861640 feat: 2FA authorization for web terminal 2024-07-23 20:35:32 +08:00
Jacky
5abd9b75bb feat: login 2fa 2024-07-23 17:28:13 +08:00
0xJacky
50b4fbcda4 refactor: structure of api-router directory 2023-11-27 23:53:23 +08:00