Commit Graph

3288 Commits

Author SHA1 Message Date
Gautam Manchandani
99e577f7e2 fix: genericOAuth and SSO ignore discoveryUrl for authorization (#6057)
Signed-off-by: GautamBytes <manchandanigautam@gmail.com>
2025-11-18 17:53:40 +00:00
Bereket Engida
26bb01b6a4 fix(multi-session): reject cookies without valid signatures on signout hook (#6049) 2025-11-18 15:22:32 +00:00
Bereket Engida
20940c5f54 fix(stripe): throw error if query.referenceId is defined 2025-11-18 07:23:08 -08:00
Bereket Engida
06d68239eb fix(passkey): filter delete passkey with userId 2025-11-18 07:16:19 -08:00
Alex Yang
9ce4433c84 test: use vitest proejcts (#6050) 2025-11-18 06:20:34 +00:00
Jonathan Samines
57ee11a26f chore(lint): enforce consistent import type style (#6044) 2025-11-17 21:11:39 +00:00
Jonathan Samines
276ffd6e44 chore(sso): add support for custom field mapping (#6047) 2025-11-17 21:02:05 +00:00
Kaan Ozdokmeci
8e754afff0 feat: refactor fetch plugins config disableDefaultFetchPlugins to include userAgentPlugin (#6020)
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-11-17 20:21:39 +00:00
Henrik
8a5df1cdc5 fix: preserve provided string IDs in the MongoDB adapter when they are not valid ObjectId (#6033) 2025-11-17 20:15:43 +00:00
Gautam Manchandani
c4ee48b741 fix: resolve SESSION_IS_NOT_FRESH error with cookieCache (#6031)
Signed-off-by: GautamBytes <manchandanigautam@gmail.com>
2025-11-17 20:02:46 +00:00
Shotaro Nakamura
9e41891d10 fix(oauth-proxy): return multiple Set-Cookie headers instead of a single comma-separated header (#6039) 2025-11-17 19:41:04 +00:00
Gautam Manchandani
9571c96e40 fix(client): ensure refetchInterval triggers active network request (#6032)
Signed-off-by: GautamBytes <manchandanigautam@gmail.com>
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-11-17 19:24:06 +00:00
Gautam Manchandani
e4ba0cb31e chore: fix incorrect error code expectation in tests (#6005)
Signed-off-by: GautamBytes <manchandanigautam@gmail.com>
2025-11-17 17:48:25 +00:00
Bereket Engida
b913dd752f chore: release v1.4.0-beta.21 2025-11-16 16:42:59 -08:00
Shridhar Deshmukh
9d1453d1e9 chore: fix crash in getMigrations after the first migration run (#6029)
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-11-17 00:36:40 +00:00
Taesu
b855a956fe feat(phone-number): allow custom verifyOTP implementation (#5926)
Co-authored-by: Zain Memon <zain@inzain.net>
2025-11-16 22:30:40 +00:00
Maxwell
3abc8e1e04 fix: /change-email should trigger session signal (#6025) 2025-11-16 22:22:51 +00:00
Maxwell
da37456fd0 fix(anonymous): isAnonymous should default to false instead of null (#6026) 2025-11-16 22:09:34 +00:00
rovertrack
0831632074 feat(last-login-method): add support for 'siwe' as a last login method and added tests (#6027) 2025-11-16 22:07:50 +00:00
Maxwell
37f5a619fb fix(organization): activeOrgId no longer inferred after enabling dynamic AC (#6023) 2025-11-16 17:57:02 +00:00
nbifrye
b54c257231 fix(last-login-method): LastLoginMethod cookie is not set when using a generic oauth provider (#6016) 2025-11-16 17:15:53 +00:00
Taesu
69fa6b73ab chore: update zod email chaining (#6017) 2025-11-16 17:14:59 +00:00
Alex Yang
6c9fe209e2 chore: bump vitest (#6012) 2025-11-15 23:28:56 +00:00
Turgay Saba
3715eb7073 chore: improve zod imports tree shaking (#5995)
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-11-15 21:06:01 +00:00
Maxwell
f5bbb96d4e feat: adapter join support (#5730) 2025-11-15 16:55:50 +00:00
Thomas Mol
4817a6e9a4 fix(openapi): add operationIds to routes (#2107)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
Co-authored-by: TheUntraceable <73362400+TheUntraceable@users.noreply.github.com>
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-11-15 08:25:27 -08:00
Bereket Engida
7aa296e6cb fix(haveibeenpwned): check for limited set of paths (#5998) 2025-11-15 04:12:32 +00:00
Rob Bayliss
7ed2805b76 fix(sso): export SSOProvider type (#5996) 2025-11-14 23:09:52 +00:00
Rob Bayliss
7800aa5f7e fix(sso): prevent server instance from leaking to client (#5994) 2025-11-14 21:08:21 +00:00
Giorgio Azzinnaro
0eb6b7457a fix: zoom refresh token (#5992) 2025-11-14 20:19:38 +00:00
Alex Yang
794c477f83 test: fix oidc.test.ts 2025-11-14 11:22:26 -08:00
Alex Yang
0dc5977fe1 fix(oidc-provider): missing options 2025-11-14 10:48:01 -08:00
Alex Yang
abf7687969 Revert "fix(odic): case when prompt=login (#5848)"
This reverts commit bafe1cac2a.
2025-11-14 10:28:20 -08:00
Alex Yang
4224a8e1ea Revert "fix(oidc-provider): oidc_login_prompt not cleared after login (#5912)"
This reverts commit 938ff5db6a.
2025-11-14 10:23:19 -08:00
Gautam Manchandani
0885653257 chore: expose BetterAuthOptions type from /minimal (#5983)
Signed-off-by: GautamBytes <manchandanigautam@gmail.com>
2025-11-14 14:51:07 +00:00
Jakub Kołodziejczak
5c945bed59 chore(fix): support native UUID generation (#5985) 2025-11-14 14:49:50 +00:00
Arian Joyandeh
eb45cfd7f6 fix(sso): respect disableImplicitSignUp in SAML callback (#5966) 2025-11-14 00:11:46 +00:00
Alex Yang
a391a92f87 Revert "feat: support pass raw function as middleware (#5888)"
This reverts commit 48a20bb50f.
2025-11-13 15:50:15 -08:00
Alex Yang
96cf8638ff fix(oidc-provider): fix opts order (#5974) 2025-11-13 23:39:09 +00:00
Alex Yang
29bd1e9873 chore: remove deprecated zod API (#5972) 2025-11-13 23:06:44 +00:00
Alex Yang
48a20bb50f feat: support pass raw function as middleware (#5888) 2025-11-13 22:24:33 +00:00
Jonathan Samines
fa595a8c3b feat: add support for custom response status codes (#5806)
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-11-13 18:20:13 +00:00
Taesu
ea1cf04d76 fix(generic-oauth): await async mapProfileToUser (#5479)
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-11-13 04:42:58 +00:00
Shobhit Patra
5af1a3f993 fix(oidc-provider): change updated_at to be a UNIX numeric timestamp (#4263)
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-11-13 01:26:49 +00:00
Maxwell
b39273a94f fix: use identity instead of serial for pg schema (#5943) 2025-11-13 01:15:39 +00:00
Alex Yang
72191ef4f0 fix(odic-provider): default options (#5945)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-13 00:56:28 +00:00
Maxwell
448d76fcfa fix: use ctx over request in plugin options (#5944) 2025-11-13 00:18:59 +00:00
Taesu
5d168d539d feat(anonymous): allow customizing random email generator (#5922) 2025-11-12 22:25:03 +00:00
Alex Yang
06dfcd9a65 chore: enable useDateNow lint rule (#5938) 2025-11-12 22:02:41 +00:00
Alex Yang
6c3cc0446c test: move oauth.spec.ts to top level (#5937) 2025-11-12 22:00:47 +00:00