Commit Graph

5499 Commits

Author SHA1 Message Date
Bennett Dams
37ae4ea659 docs: Change role type from string to enum values
The example for the additional "role" field now uses an array instead of a raw string. This comes very handy when one is already using an enum-like DB schema (like `pgEnum`) and Drizzle for better type inference.

By the way, I found out that this is allowed by accident from this test, so I am not even sure that this is the intended usage.
 
https://github.com/better-auth/better-auth/pull/5287/files#diff-b98623fbecefef5313e8c1fe082f4895ee707cea0183c5cf4f860942cf3d0e3e
2025-12-18 04:37:11 +01:00
Dominik K.
e973bd95be docs(convex): clean up documentation (#6829) 2025-12-18 10:27:36 +08:00
Dominik K.
9bf9ad88b5 docs(polar): update client import (#6830) 2025-12-18 10:26:43 +08:00
Taesu
9952a78bbf docs: update logo for Christmas (#6806) 2025-12-17 17:14:07 -08:00
Anmol
0227dde8ec docs: uses latest getRequestHeaders() to grab headers from request in Auth Middleware in Tanstack Start (#6824) 2025-12-17 13:20:38 -08:00
Paola Estefanía de Campos
dc65d827b5 chore(sso): use default import for zod/v4 (#6833) 2025-12-17 12:43:59 -08:00
Alex Yang
c091391d0b chore(db): remove deprecated types (#6793) 2025-12-17 16:18:54 +08:00
Muzzaiyyan Hussain
6444fd0fc5 chore: replace unsafe any in adapter factory types (#6819) 2025-12-17 16:11:53 +08:00
Jonathan Samines
059b53f0ec fix: delete verifications with hooks (#6803) 2025-12-17 12:15:27 +08:00
Nico Labarre
07cdd67dae feat: add patreon social provider (#6245)
Co-authored-by: benkingcode <ben@lionfeet.com>
Co-authored-by: Kinfe123 <kinfishtech@gmail.com>
2025-12-17 11:57:00 +08:00
Alex Yang
982a8406ca test: add missing organizationId in addMember (#6814) 2025-12-17 11:34:02 +08:00
Paola Estefanía de Campos
2053f22bbf feat(saml): enforce one-time use of SAML assertions (#6719) 2025-12-16 17:32:19 -08:00
Paola Estefanía de Campos
476826721c fix: respect BETTER_AUTH_TRUSTED_ORIGINS env variable (#6809) 2025-12-16 16:42:42 -08:00
Shawn Erquhart
da103d92a0 docs(convex): update guide for Convex component 0.10 (#6811) 2025-12-16 16:36:05 -08:00
Maxwell
c3eda708f5 fix(prisma-adapter): extract id to root level for delete operations (#6425)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-12-16 13:40:35 -08:00
Alex Yang
63b961a5a9 chore: use Awaitable type (#6790) 2025-12-16 16:46:28 +08:00
Bereket Engida
39df57f021 chore: cleanup sso type usage 2025-12-15 22:23:50 -08:00
Paola Estefanía de Campos
dd8a5282c6 fix: unify SSO/OAuth account linking and add domain-based org assignment to all sign-in flows (#6652) 2025-12-15 22:18:27 -08:00
Jonathan Samines
69a68ffa3d chore: delete session with hooks (#6792) 2025-12-16 13:11:16 +08:00
Shridhar Deshmukh
478843c1b5 fix: preserve = padding in parsed cookies (#6789) 2025-12-16 12:54:24 +08:00
Paola Estefanía de Campos
b56d7b8eaa feat(saml): validate SAML crypto algorithms during initial phase (#6785) 2025-12-15 14:40:08 -08:00
Gautam Manchandani
c0c9444a19 fix(organization): validate role existence in inviteMember endpoint (#6774)
Co-authored-by: Gautam Manchandani <gautammanch@Gautams-MacBook-Air.local>
2025-12-15 14:39:34 -08:00
Joél Solano
5d303d3caf fix: properly merge updated data in account cookie (#6758) 2025-12-15 14:38:58 -08:00
Joél Solano
5d26a54595 chore: fix drizzle peer dependency version (#6771) 2025-12-15 21:21:51 +09:00
Alex Yang
81eec27dac fix: compatible with openapi 3.1 (#6705)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-15 21:14:31 +09:00
noctarius aka Christoph Engelbert
eab5b4a04f feat: add additionalFields option in verification table schema (#6747) 2025-12-15 16:41:10 +09:00
Alexander Wong
78dc6f8a88 chore: update peerDependencies vitest (#6760)
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-12-15 16:35:07 +09:00
Taesu
f659ce905a fix: revert token masking in listSessions route (#6749) 2025-12-15 16:25:29 +09:00
renovate[bot]
3b285699e6 chore(deps): update actions/cache action to v5 (#6764)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-15 16:22:12 +09:00
renovate[bot]
d6965bae30 chore(deps): update dependency deno to v2.6.0 (#6763)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-15 16:18:46 +09:00
Joél Solano
00ede9037a chore: fix prisma peer dependency version (#6751) 2025-12-14 08:12:12 -08:00
Joél Solano
dc6715f91f docs: fix overflowing code elements (#6748) 2025-12-14 08:11:39 -08:00
Balbuzar
c573114f71 fix(api-key): prevent id update error with MongoDB adapter (#6752) 2025-12-14 08:11:00 -08:00
Brian Cooper
6da61bba77 docs: restrict SIWE example nonce generation characters (#6741) 2025-12-13 22:56:41 -08:00
Bereket Engida
fd3460fadb chore: release v1.4.7 2025-12-13 22:47:53 -08:00
Bereket Engida
08e057c19d feat(one-time-token): support setting session cookie on ott verify (#3659) 2025-12-13 22:45:21 -08:00
Joél Solano
42f2c5c489 chore: properly validate body on email signup (#6744) 2025-12-13 22:23:26 -08:00
Taesu
3bc67b4793 chore: set listSessions token to "" instead of undefined (#6745) 2025-12-13 22:21:46 -08:00
Alex Yang
a96e907b7d test: ensure no unexpected output for cloudflare worker (#6704)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-14 14:47:01 +09:00
Gaga86
cce3456c1c docs: updated the accountInfo server side example (#6692) 2025-12-14 14:29:37 +09:00
Joél Solano
ef952e5739 docs(expo): fix code examples (#6731) 2025-12-14 14:28:21 +09:00
Gautam Manchandani
a91c021d40 docs(oidc-provider): fix incorrect redirectURLs property name (#6734)
Co-authored-by: Gautam Manchandani <gautammanch@Gautams-MacBook-Air.local>
2025-12-14 14:14:38 +09:00
Joél Solano
a55a8a57f5 docs: add rss feed (#6733) 2025-12-14 11:31:49 +09:00
Bereket Engida
4cdf869c67 feat(phone-number): add password length validation for reset functionality (#6674) 2025-12-13 15:51:03 -08:00
Bereket Engida
12a9797ef3 fix(line): enforce nonce (#6631) 2025-12-13 15:41:12 -08:00
Bereket Engida
b2af36f7d0 fix(api-key): check metadata is enabled for api key update endpoint (#6632) 2025-12-13 15:40:58 -08:00
Bereket Engida
a5e7c3ed2f fix: prevent stateless refresh with database configured (#6700) 2025-12-13 15:23:03 -08:00
Taesu
184f378ef3 chore: bump react and next (#6707) 2025-12-13 20:31:46 +09:00
Josh Sullivan
7529c8810d chore(organization): export getAdapter for plugin extensibility (#6726) 2025-12-13 20:30:23 +09:00
Taesu
4439b52d66 docs: correct codeblock title (#6708) 2025-12-12 18:44:10 -08:00