Commit Graph

5163 Commits

Author SHA1 Message Date
ping-maxwell
bb51390a36 chore: session refetch cooldown for window focus
Everytime you focus the browser, we make a get-session request.
If you alt+tab between the browser frequently, you would hit your server several times (and thus the DB too) within the span of a couple seconds.
It's unnessesary to get the session each browser refocus within the span of a couple seconds.
2025-11-20 15:52:29 -08:00
Taesu
d06b1c4ff2 docs: clearer verificationUri description (#6146) 2025-11-20 23:06:54 +00:00
Bereket Engida
b8a656efc8 chore: use generate random string helper (#6140) 2025-11-20 22:54:17 +00:00
KinfeMichael Tariku
e9fc045c07 docs: supabase migration for large number of rows (#4798)
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-11-20 20:50:39 +00:00
Alex Yang
252ab7e2fa test: update snapshot expectations to use async/await (#6141) 2025-11-20 20:37:05 +00:00
Harry Yep
6351811ac4 feat(docs): adding missing auth & colour in builder (#5982) 2025-11-20 20:31:07 +00:00
Taesu
51dfacee8f chore: fix lint warning (#6137) 2025-11-20 19:55:12 +00:00
Taesu
9ca43e3372 docs: add explanation of stateless mode to database concept (#6135) 2025-11-20 17:53:09 +00:00
Alex Yang
e88ea0bd66 fix(oidc-provider): redirect to consent when scope changed (#6116)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-20 15:48:49 +00:00
Maxwell Weru
ef15bfb2c5 fix(passkey): ensure addPasskey returns passkey data instead of undefined (#5736) 2025-11-20 00:01:30 -08:00
Paola Estefanía de Campos
a5ca2769ae chore: update google credentials instructions (#6115) 2025-11-20 00:01:30 -08:00
Taesu
8b2b6ca7f2 feat(device-authorization): add verification uri (#5451)
Co-authored-by: Alex Yang <himself65@outlook.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-11-20 00:01:30 -08:00
Albert Putra Purnama
edb090e0d5 chore(sso): support form-urlencoded for callback endpoint (#6123) 2025-11-20 05:20:06 +00:00
Paola Estefanía de Campos
07b7ecf808 feat(generic-oauth): provide pre configured provider helpers (#6085) 2025-11-20 02:53:55 +00:00
Bereket Engida
0fb0398be2 chore: release v1.4.0-beta.25 v1.4.0-beta.25 2025-11-19 18:57:58 -08:00
Albert Putra Purnama
444c8e62f1 sso(fix): generate metadata on saml sign on (#6118) 2025-11-20 02:51:09 +00:00
Alex Yang
c908543a06 feat(oidc-provider): add RP-Initiated Logout endpoint (#6094)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-19 22:25:48 +00:00
Maxwell
05c726bc4e docs: add "no email" warning for twitch (#6109) 2025-11-19 21:03:38 +00:00
Taesu
48c1e9cb19 docs: rewrite Auth.js migration guide (#6076) 2025-11-19 18:54:59 +00:00
Maxwell
e7e02fe0a9 chore: docs for sendVerificationEmail in change-email flow (#6102) 2025-11-19 17:57:39 +00:00
Bereket Engida
80769194d2 chore: release v1.4.0-beta.24 v1.4.0-beta.24 2025-11-19 08:13:21 -08:00
Maxwell
3396089f86 chore(sso): support form-urlencoded for acs endpoint (#6098) 2025-11-19 16:09:20 +00:00
Alex Yang
caf9ceeeac fix(email-otp): prevent user enumeration on email OTP (#5050) 2025-11-19 10:24:54 +00:00
Alex Yang
3342da3240 fix(oidc-provider): implement proper OIDC prompt parameter handling (#5993)
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-19 09:13:39 +00:00
Bereket Engida
87cade689b chore: release v1.4.0-beta.23 v1.4.0-beta.23 2025-11-19 01:16:46 -08:00
Bereket Engida
179eabc298 chore(sso): should trust verified domains 2025-11-19 01:16:30 -08:00
Bereket Engida
bb7723cc35 refactor: improved change email verification flow (#6088) 2025-11-19 08:24:43 +00:00
Jonathan Samines
da9657e53b feat(sso): add domain verification for SSO providers (#5910)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2025-11-19 08:17:12 +00:00
Yiming Cao
5b6a91895f docs: add ZenStack to community adapters (#6084) 2025-11-18 23:40:15 -08:00
Bereket Engida
14128927b4 chore: upgrade to better-call to 1.2.28 (#6090) 2025-11-19 07:23:25 +00:00
Alex Yang
d737245df0 test: update sample user data in email verification test (#6089) 2025-11-19 05:52:28 +00:00
Bereket Engida
0a72379e70 chore: refactor internal endpoints (#6087) 2025-11-18 20:11:56 -08:00
Alex Yang
fb34cf3cb1 chore(demo): set type module (#6082)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-18 22:52:57 +00:00
Alex Yang
f528506820 feat(expo): support multiple cookie prefixes for better-auth detection (#6080) 2025-11-18 22:07:50 +00:00
Joél Solano
5fa17379c5 chore: use relative schema path for turbo.json (#6061) 2025-11-18 20:22:35 +00:00
Lukas Besch
4b290c2037 docs: replace pnpm with npx in ai tooling commands (#6073)
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-11-18 20:21:05 +00:00
Alex Yang
cbea5e8487 chore: release v1.4.0-beta.22 v1.4.0-beta.22 2025-11-18 11:14:04 -08:00
Alex Yang
3c9fcd30ea fix(expo): enhance cookie detection for better-auth cookies (#6074) 2025-11-18 19:07:25 +00:00
Joél Solano
b42c686e9e chore: remove unused dev:dts script (#6063) 2025-11-18 18:20:17 +00:00
Alex Yang
c666c12841 refactor(client): revalidate logic (#5691) 2025-11-18 18:07:32 +00:00
Maxwell
bc2ec1500a chore: remove deprecated generateId (#6068) 2025-11-18 18:02:37 +00:00
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
Maxwell
64488a973d chore: docs change outdated req to be ctx (#6067) 2025-11-18 07:23:49 -08: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
Maxwell
8c8b8a2fae chore: add missing customizeDefaultErrorPage docs (#6066) 2025-11-18 06:33:38 -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