408 Commits

Author SHA1 Message Date
nocobase[bot]
53e9ad38cd chore(versions): 😊 publish v1.6.0-beta.16 2025-03-04 03:20:25 +00:00
Sheldon Guo
f2c3f54109
fix(auth): accidentally logged out due to WebSocket authorization. (#6342)
* fix(auth): improve logging by including full context and error details

* fix(auth): enhance logging with error handling for token renewal

* feat(auth): init checkToken

* feat(auth): implement checkToken method with detailed token status and user information

* fix(auth): update check method to handle expired tokens and improve token renewal process
2025-03-04 06:54:01 +08:00
nocobase[bot]
08f4d7eeb0 chore(versions): 😊 publish v1.6.0-beta.15 2025-02-27 04:27:59 +00:00
nocobase[bot]
8c801015d2 chore(versions): 😊 publish v1.6.0-beta.14 2025-02-27 01:13:54 +00:00
nocobase[bot]
220721d5d5 chore(versions): 😊 publish v1.6.0-beta.13 2025-02-26 15:01:33 +00:00
nocobase[bot]
60b1bfc742 chore(versions): 😊 publish v1.6.0-beta.12 2025-02-26 00:09:44 +00:00
Sheldon Guo
8d52fc6c84
refactor: remove unnecessary NavigateIfNotSignIn wrapper from AdminProvider (#6268)
* refactor: remove unnecessary NavigateIfNotSignIn wrapper from AdminProvider

* refactor: remove NavigateToSigninWithRedirect and NavigateIfNotSignIn

* refactor: streamline error handling in authCheckMiddleware

* fix: prevent notification for user role errors in authCheckMiddleware

* fix: use app error to show error message for USER_HAS_NO_ROLES_ERR in authCheckMiddleware
2025-02-25 13:13:35 +08:00
nocobase[bot]
b6f666e0d9 chore(versions): 😊 publish v1.6.0-beta.11 2025-02-24 12:10:09 +00:00
nocobase[bot]
5d17e0941d chore(versions): 😊 publish v1.6.0-beta.10 2025-02-24 06:02:03 +00:00
nocobase[bot]
4691a6146f chore(versions): 😊 publish v1.6.0-beta.9 2025-02-22 07:09:03 +00:00
nocobase[bot]
ef54fc895f Merge branch 'main' into next 2025-02-19 15:02:29 +00:00
Junyi
43e71edf69
fix(plugin-auth): support to trigger workflow when change password (#6248)
* fix(plugin-auth): support to trigger workflow when change password

* fix(plugin-auth): fix await
2025-02-19 23:02:01 +08:00
nocobase[bot]
db26c82cce chore(versions): 😊 publish v1.5.10 2025-02-17 17:15:46 +00:00
nocobase[bot]
bede58c86b chore(versions): 😊 publish v1.5.9 2025-02-17 09:48:38 +00:00
nocobase[bot]
a101a20598 chore(versions): 😊 publish v1.5.8 2025-02-16 22:51:50 +00:00
nocobase[bot]
4087b7a58c chore(versions): 😊 publish v1.6.0-beta.8 2025-02-14 16:23:18 +00:00
nocobase[bot]
8836fcaa5b chore(versions): 😊 publish v1.6.0-beta.7 2025-02-14 05:04:34 +00:00
Sheldon Guo
acb61e214f
fix(auth): enhance token concurrent update and auth error handling logic (#6208)
* fix: add optional chaining for safe access to response headers in auth middleware

* fix: add skipNotify option to handle error notifications in SSE stream

* fix: handle expired session error in auth flow and remove unused cache update

* fix: implement renewed JTI cache duration and update related tests

* fix: add skipNotify option to updateUnreadMsgsCount for improved notification handling
2025-02-14 10:55:02 +08:00
nocobase[bot]
29dbe34e03 chore(versions): 😊 publish v1.5.7 2025-02-13 15:45:21 +00:00
nocobase[bot]
aff51d3683 chore(versions): 😊 publish v1.6.0-beta.6 2025-02-13 07:00:25 +00:00
nocobase[bot]
9b94e77d9f Merge branch 'main' into next 2025-02-13 05:15:33 +00:00
YANG QIA
dd7c7f641c
fix(auth): ws auth issue (#6209) 2025-02-13 13:15:08 +08:00
nocobase[bot]
25c5637bde chore(versions): 😊 publish v1.5.6 2025-02-12 01:01:13 +00:00
nocobase[bot]
a56fb7cacf chore(versions): 😊 publish v1.6.0-beta.5 2025-02-11 12:54:47 +00:00
nocobase[bot]
406549a002 chore(versions): 😊 publish v1.6.0-beta.4 2025-02-11 04:23:54 +00:00
nocobase[bot]
de2fd10401 chore(versions): 😊 publish v1.5.5 2025-02-11 02:13:55 +00:00
nocobase[bot]
9fb0a05a98 chore(versions): 😊 publish v1.5.4 2025-02-10 12:27:57 +00:00
Sheldon Guo
feb9074e56
refactor(test): modify the test function login to be asynchronous and update the relevant test cases (#6181)
* refactor(test): modify the test function login to be asynchronous and update the relevant test cases
2025-02-08 13:53:30 +08:00
nocobase[bot]
c0ec18c0ec chore(versions): 😊 publish v1.6.0-alpha.23 2025-02-07 11:53:20 +00:00
Sheldon Guo
0144e2e510
fix(auth): use loginWithJti to update authentication-related test cases and prevent errors (#6175)
* refactor(auth): update login method to use loginWithJti for test cases
2025-02-07 17:45:48 +08:00
nocobase[bot]
2fac130a47 chore(versions): 😊 publish v1.5.3 2025-02-07 09:29:51 +00:00
nocobase[bot]
cd50adcf5e chore(versions): 😊 publish v1.6.0-alpha.22 2025-02-07 07:46:20 +00:00
nocobase[bot]
c71edbb4e7 chore(versions): 😊 publish v1.6.0-alpha.21 2025-02-07 01:51:40 +00:00
nocobase[bot]
522b692ff0 chore(versions): 😊 publish v1.5.2 2025-02-06 12:58:13 +00:00
Sheldon Guo
cab54e9ebb
fix(auth): update client auth middleware logic to prevent token update failure due to concurrency (#6135)
* feat(auth): add logging for token renewal process and new error code for stream requests

* feat(auth): session expiration check everytime

* feat(auth): validate token validity period against session validity period

* fix(auth): correct wording for session validity period in localization file

* fix(auth): update redirect logic to handle specific auth error codes

* fix(auth): correct error response structure for token renewal and stream requests

* fix(auth): add token expiration check to update token status

* fix(notification): add skipAuth option to SSE stream request

* fix(auth): simplify redirect logic in auth check middleware

* fix(auth): update logging to include request headers and enhance error handling in auth middleware
2025-02-06 15:31:18 +08:00
nocobase[bot]
25a35e5770 chore(versions): 😊 publish v1.5.1 2025-02-06 03:12:53 +00:00
nocobase[bot]
dbf4fb713d chore(versions): 😊 publish v1.5.0 2025-02-05 14:15:43 +00:00
nocobase[bot]
c43fe72a66 chore(versions): 😊 publish v1.6.0-alpha.20 2025-02-02 04:55:59 +00:00
nocobase[bot]
e7c5f9d731 chore(versions): 😊 publish v1.5.0-beta.34 2025-02-01 03:58:20 +00:00
nocobase[bot]
4d0b1117b1 chore(versions): 😊 publish v1.6.0-alpha.19 2025-01-25 12:54:44 +00:00
Chareice
2b58c13aa5
chore: migration rules 2025-01-24 22:31:39 +08:00
nocobase[bot]
61488d95af chore(versions): 😊 publish v1.6.0-alpha.18 2025-01-24 06:10:10 +00:00
nocobase[bot]
7601386e18 chore(versions): 😊 publish v1.5.0-beta.33 2025-01-21 09:51:26 +00:00
Sheldon Guo
c46cdd37ae
fix(plugin-auth): update migration rules for issued tokens and token policy config (#6107) 2025-01-21 10:46:33 +08:00
nocobase[bot]
93b8f93b74 chore(versions): 😊 publish v1.6.0-alpha.17 2025-01-19 12:54:20 +00:00
Sheldon Guo
8e5fd9359f
fix(auth): fix redirecting unauthenticated users from registration/public forms to the login page (#6094)
* feat(auth): add skipAuth option to API requests and update auth middleware

* feat(auth): implement removeBasename function to streamline pathname handling
2025-01-19 18:37:14 +08:00
nocobase[bot]
4ba5dc0d6c chore(versions): 😊 publish v1.6.0-alpha.16 2025-01-19 06:19:56 +00:00
nocobase[bot]
8baec18988 chore(versions): 😊 publish v1.6.0-alpha.15 2025-01-19 02:05:02 +00:00
Sheldon Guo
cc6928c7d0
feat(auth): support token security (#5948)
* feat(auth): support token security config
---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: xilesun <2013xile@gmail.com>
2025-01-18 22:18:51 +08:00
nocobase[bot]
4dcffddbcd chore(versions): 😊 publish v1.5.0-beta.32 2025-01-17 13:27:34 +00:00