Commit Graph

14 Commits

Author SHA1 Message Date
dswbx
bd4bc14282 reworked authentication and permission handling 2025-01-11 15:27:58 +01:00
dswbx
c732566f63 Add integration tests for auth, improve auth middleware and cookies handling 2025-01-11 10:52:31 +01:00
dswbx
47f48be514 Refactor module middleware initialization logic.
Replaced `getMiddleware` with `onServerInit` for streamlined middleware registration. Updated `AppAuth` to automatically register its authentication middleware. Added a test case to verify middleware registration. Removed redundant cookie renewal logic from `AdminController` and made related adjustments across modules.
2025-01-09 10:59:48 +01:00
dswbx
b7ec4982dc cli: automatically register local adapter 2024-12-10 15:50:41 +01:00
dswbx
d6978f9873 fix auth tests 2024-12-03 09:16:00 +01:00
dswbx
feeb13c053 improved astro adapter (serving api) + added documentation 2024-12-01 08:58:08 +01:00
dswbx
509d6826f0 hotfix: cookies may not be added to static assets 2024-11-28 18:07:29 +01:00
dswbx
d36c4b07e0 verified cloudflare workers + added configs where to navigate after login/logout 2024-11-26 13:26:11 +01:00
dswbx
9d896a6ab1 improved nextjs/remix adapters and docs, confirmed remix ssr working 2024-11-26 11:15:38 +01:00
dswbx
1c94777317 switched to hono/jwt to save some kb 2024-11-25 17:54:26 +01:00
dswbx
16a6a3315d added cookie to config + fixed config set endpoint 2024-11-25 16:57:12 +01:00
dswbx
824ff40133 reworked admin auth to use form and cookie + adjusted oauth to support API and cookie-based auth 2024-11-23 18:12:19 +01:00
dswbx
6077f0e64f added onBeforeUpdate listener + auto create a secret on auth enable 2024-11-21 16:24:33 +01:00
dswbx
90f80c4280 public commit 2024-11-16 12:01:47 +01:00