Commit Graph
2739 Commits
Author SHA1 Message Date
Gustavo Valverde 7484c5dd3e feat(sso)!: add mapProfileToUser and use only email-format NameIDs as emails
SSO sign-in failed whenever the provider sent no email, with no hook to
supply one. mapProfileToUser runs on every OIDC and SAML sign-in before the
user is looked up and can return the email, name, image, and emailVerified.

A SAML NameID now becomes the email only when its Format is emailAddress,
matching Keycloak and Ory Polis. Persistent and transient NameIDs are opaque
and were being stored as user emails.
2026-10-14 10:50:46 +01:00
Gustavo ValverdeandGitHub 9e0b1780b0 Merge pull request #10853 from better-auth/main
chore: sync main to next
2026-10-06 06:12:34 +01:00
TaesuandGitHub 733f7934a1 docs(mongo-adapter): clarify transaction setup (#11550) 2026-10-03 10:07:35 +09:00
Jonathan SaminesandGitHub 7eb961f4af docs: add documentation for new dash/sentinel options (#11526) 2026-10-02 11:34:47 -06:00
TaesuandGitHub 9b104a22e7 docs(captcha): clarify protected endpoints (#11511) 2026-10-01 23:48:23 +09:00
4738fef731 docs(rate-limit): correct default window (#11492)
Co-authored-by: Taesu <bytaesu@gmail.com>
2026-10-01 16:17:38 +09:00
12cf61b3ce docs(email-password): correct APIMethod contracts (#11499)
Co-authored-by: Taesu <166604494+bytaesu@users.noreply.github.com>
2026-10-01 15:56:12 +09:00
55b67da016 docs(magic-link): correct APIMethod contract and document rateLimit (#11497)
Co-authored-by: Taesu <bytaesu@gmail.com>
2026-10-01 15:53:51 +09:00
Gustavo ValverdeandGitHub ac54bfd678 fix(auth): isolate verification records and encryption purposes (#11494) 2026-09-30 20:56:11 +00:00
683ac1ddc3 feat(oauth-provider): add validateRedirectUri option for custom redirect validation (#8686)
Co-authored-by: Gustavo Valverde <g.valverde02@gmail.com>
2026-09-29 08:26:56 +00:00
Emmanuel OdiiandGitHub 8817e98429 docs: add @stellartools/betterauth-adapter to community plugins (#11451) 2026-09-29 08:30:26 +09:00
Md SufiyanandGitHub ce373da451 docs: update test helper import in contributing guide (#11454) 2026-09-29 08:18:54 +09:00
129d54a9dc docs(chargebee): fix cli command and update migration guidance (#11456)
Co-authored-by: Taesu <166604494+bytaesu@users.noreply.github.com>
2026-09-29 08:03:19 +09:00
Md SufiyanandGitHub 200bc6a7cc docs: update CLI command in drizzle adapter guide (#11453) 2026-09-29 07:57:13 +09:00
Jonathan SaminesandGitHub 74f68176b7 docs: update enterprise pricing details (#11369) 2026-09-28 14:03:25 -06:00
Sivert BjørneråsandGitHub 266e2bc2be docs: add eusend to the email provider list (#11446) 2026-09-29 01:02:28 +09:00
Sivert BjørneråsandGitHub eb62f535f6 docs: add @eusend_dev/better-auth to community plugins (#11447) 2026-09-29 01:02:16 +09:00
Bereket EngidaandGitHub 5e6c8bcade docs: prefetch homepage media after load on fast connections to stop scroll pop-in (#11431) 2026-09-27 08:16:47 +00:00
fc1f21aaa4 docs: cut homepage weight on slow connections (logos, avatars, fonts, poster) (#11430)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 07:16:27 +00:00
b6ce639f4b docs: only load the homepage demo video for the active theme (#11429)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 05:21:12 +00:00
Micha MailänderandGitHub d1f785352e docs: update Creem plugin docs for @creem_io/better-auth 2.0 (#11397) 2026-09-26 07:05:51 +09:00
b26057e23a feat(oauth-provider): export verifyOAuthQueryParams for consent pages (#11402)
Co-authored-by: Manuel Lautenschlager <ml@webrender.de>
2026-09-25 21:22:10 +00:00
TaesuandGitHub dcaa5a7869 feat(cli): add check command for schema validation (#11314) 2026-09-24 14:41:49 +00:00
TaesuandGitHub 631ac296a5 fix(db): preserve model identity across adapters (#11333) 2026-09-24 14:41:48 +00:00
3d0efa308d feat(captcha): add Vercel BotID provider (#11016)
Co-authored-by: Taesu <bytaesu@gmail.com>
Co-authored-by: Taesu <166604494+bytaesu@users.noreply.github.com>
2026-09-22 20:11:43 +00:00
Abd El-wadoudGitHubgreptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>Taesu
af883851ae feat(admin): allow bannedUserMessage to be a function of the banned user (#11325)
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Taesu <bytaesu@gmail.com>
2026-09-22 19:30:37 +00:00
TaesuandGitHub 7eb6fec100 docs(plugins): document plugin type registration (#11352) 2026-09-23 04:26:48 +09:00
2ee1545f24 fix(client): preserve auth query snapshots during hydration (#11316)
Co-authored-by: Taesu <bytaesu@gmail.com>
2026-09-22 18:19:25 +00:00
Jarod StewartandGitHub 641630f06c docs: add Wraps to the email provider list (#11164) 2026-09-17 07:36:14 +09:00
better-release[bot]GitHubbetter-release[bot] <273320539+better-release[bot]@users.noreply.github.com>
724fa19ec4 docs: sync v1.6 documentation (#11293)
Co-authored-by: better-release[bot] <273320539+better-release[bot]@users.noreply.github.com>
2026-09-15 07:10:30 +09:00
better-release[bot]GitHubbetter-release[bot] <273320539+better-release[bot]@users.noreply.github.com>
627c09c9d5 docs: sync v1.6 documentation (#11289)
Co-authored-by: better-release[bot] <273320539+better-release[bot]@users.noreply.github.com>
2026-09-15 05:56:26 +09:00
cb627ebeb1 feat(postgres): add support for custom schema name in PostgreSQL connections (#11203)
Co-authored-by: Taesu <bytaesu@gmail.com>
2026-09-14 17:53:15 +00:00
UsmanandGitHub 5ee3f545c4 docs(2fa): note that the TOTP URI carries the secret and the email (#11269) 2026-09-13 16:45:14 +09:00
TaesuandGitHub f1f7766dba chore: bump typesense-fumadocs-adapter (#11265) 2026-09-12 09:24:18 +00:00
TaesuandGitHub 5d91f5b12f ci(docs): automate version source updates (#11257) 2026-09-12 12:58:07 +09:00
TaesuandGitHub 753c2d19f7 fix(cimd): avoid pacing successful metadata fetches (#11161) 2026-09-11 11:30:42 +00:00
Muhammad waleed akhtarGitHubDevin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
51476fe9fd docs: fix authClient import in Auth0 and Clerk migration guides (#11248)
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-11 17:56:57 +09:00
TaesuandGitHub 2716d0a60b docs: update v1.6 docs snapshot (#11242) 2026-09-10 18:38:46 +09:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Taesu
80b1d64594 chore(deps): bump next (#11226)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Taesu <bytaesu@gmail.com>
2026-09-10 07:20:54 +00:00
TaesuandGitHub 9b1be996a5 fix(expo): clean up stale session storage (#11200) 2026-09-10 07:18:01 +00:00
MaxandGitHub 9b9638ec99 feat(test-utils): accept additional session fields in auth helpers (#11217) 2026-09-09 10:50:01 +00:00
5cb6a0d83f docs: explain the 1.7 account schema transition (#11196)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-09-09 10:08:03 +00:00
TaesuandGitHub c1756a2274 feat(instrumentation): add option to disable tracing (#11224) 2026-09-09 08:15:17 +00:00
Alexander AsombaandGitHub 163e9f9740 docs: update and add community plugin data (#10929)
- update `better-auth-paystack`
- add `better-auth-flutterwave`
- add `better-auth-solana-payments`
2026-09-09 03:19:57 +09:00
Brion MarioandGitHub 8de8dbec3f docs: list ThunderID as a community provider helper (#11117)
Signed-off-by: Brion <info@brionmario.com>
2026-09-09 03:12:01 +09:00
TaesuandGitHub f6caf760b5 docs: clarify Drizzle Relations v2 setup (#11215) 2026-09-09 00:22:29 +09:00
TaesuandGitHub cfedf97dbc docs: update CLI references to auth (#11214) 2026-09-08 07:24:38 +00:00
e025ce665c docs: make header dropdown menus keyboard accessible (#11184)
Co-authored-by: Taesu <bytaesu@gmail.com>
2026-09-07 10:14:29 +00:00
TaesuandGitHub 1a1b7d56f5 fix(core): restore optional atomic adapter methods (#11189) 2026-09-06 11:20:48 +09:00
76d311f4b9 feat: add Cloudflare social provider (#9908)
Co-authored-by: Taesu <bytaesu@gmail.com>
Co-authored-by: Taesu <166604494+bytaesu@users.noreply.github.com>
2026-09-06 01:56:20 +00:00