Repository navigation
1.2.0 (2026-08-15)
✨ Features
- Add standard OAuth providers (7e90f7f)
- Add API key plugin (86bfdb0)
- Add i18n error messages (2d3cb27)
- Add SCIM provisioning (bd3e036)
- Add Stripe billing plugin (05e9243)
- Add SAML SSO plugin (d0020fc)
- Add Passkey WebAuthn plugin (24b8ccf)
- Add OIDC SSO and OAuth providers (dd800f1)
- Expand Better Auth parity coverage (c5c3a15)
🐛 Bug Fixes
- Docs (a4b0d06)
- CLI (7b89924)
- Align auth parity behaviours (6759187)
- Consume reset tokens before password update (c6a1cad)
- Align verification email session checks (e5eb32a)
- Return errors for failed session revocation (e48e861)
- Require reset callback redirect (776885b)
- Propagate reset session revoke failures (099591c)
- Propagate unlink account delete failures (5ae74e9)
- Propagate change password store failures (5a521f4)
- Propagate set password store failures (c6ff522)
- Propagate delete user failures (79a0a1e)
- Propagate password reset failures (0a479fd)
- Propagate password verification failures (3cc2c85)
- Propagate sign in internal failures (cd4e6cf)
- Propagate sign in verification email failures (1919d6b)
- Handle sign up lookup failures (51132eb)
- Skip duplicate sign up timing hash when rejecting (26fc4b5)
- Propagate change email send failures (638e2c1)
- Propagate email change callback send failures (c038202)
- Create sessions for email change verification (ea250b1)
- Gate linked profile updates behind config (53d0ffd)
- Return null user for verified email links (204fa7e)
- Equalize verification email timing (1ebbd6c)
- Align update session response shape (b6fc622)
- Avoid leaking user data on duplicate sign up (4e64d68)
- Reject invalid verification email requests (0c44348)
- Require account id for account info (1165f8d)
- Reject account user id without session (12a1973)
- Fail closed on session refresh errors (3c8d5c8)
- Preserve scopes on implicit token refresh (db39259)
- Pass scopes to account info providers (934b14e)
- Preserve social ID token account fields (b8a9c90)
- Honor OAuth error callback state (3891149)
- Align OAuth post callback merge (489453e)
- Preserve OAuth error descriptions (ec16229)
- Pass OAuth callback user data (6b0374a)
- Reject expired OAuth state (271df58)
- Propagate OAuth state create failures (3ed7cf8)
- Require OAuth state consumption (1b3afdb)
- Honor social provider sign up policy (375aeed)
- Pass social ID token user data (3d3098a)
- Align implicit social linking policy (5715347)
- Return updated implicit link user (10da0a2)
- Propagate social account update failures (26a42a2)
- Propagate social email verification failures (ce3121b)
- Propagate OAuth user lookup failures (e8057f1)
- Send verification for social sign up (39c4a69)
- Honor account update on sign in (026afe9)
- Support social user info override (f8184ae)
- Flatten OAuth state additional data (b22308b)
- Align social ID token email errors (0529080)
- Propagate OAuth link account lookup failures (2a6b5f5)
- Propagate OAuth link account update failures (ba05df8)
- Enforce Google hosted domain (f0e9b46)
- Support disabling default provider scopes (46e5776)
- Pass GitHub prompt and login hint (aac1d02)
- Pass Google display option (37aaa29)
- Pass OAuth display option (7eaa916)
- Pass GitHub response type (8d33d26)
- Support OAuth endpoint overrides (474454d)
- Preserve raw OAuth token response (fcebb39)
- Map OAuth token type and refresh expiry (5c516c7)
- Map array OAuth token scopes (78282b5)
- Refuse OAuth token redirects (3aec1e0)
- Support custom provider user info (ca33aa6)
- Keep GitHub profile email (b22e4b3)
- Return GitHub profile data (962c0c2)
- Align GitHub user agent (d98a51b)
- Preserve GitHub profile fields (572dda6)
- Support provider profile mapping (487f93c)
- Omit empty refresh client secret (a7a32c6)
- Map numeric OAuth token expiry (402f68f)
- Merge OAuth code extra params (09df62d)
- Replace OAuth auth url query params (8f9d83c)
- Support OAuth refresh request options (5139b42)
- Support OAuth code exchange options (a851605)
- Support OAuth refresh resources (274940b)
- Support generic OAuth auth url options (c7b9cf7)
- Honor generic OAuth callback state (e28efca)
- Support generic OAuth request scopes (1dd6a5c)
- Support generic OAuth redirect uri (1ff4a59)
- Support generic OAuth discovery (c4d4f29)
- Validate generic OAuth issuer (16bd6a3)
- Support generic OAuth pkce (0f33bb7)
- Return generic OAuth link url (fc7c7da)
- Redirect generic OAuth callback errors (ee9caa3)
- Complete generic OAuth callback flow (2a6923d)
- Support generic OAuth expiry fallback (e74d2c0)
- Support generic OAuth token headers (f478b79)
- Support generic OAuth token params (4f355e0)
- Support generic OAuth token auth mode (35f5cb3)
- Support generic OAuth custom user info (a99d03f)
- Support generic OAuth profile mapping (0101f75)
- Support generic OAuth custom token exchange (f0e2e78)
- Support generic OAuth state callbacks (0b32067)
- Support generic OAuth ID token user info (c70ef50)
- Support generic OAuth user override (c567071)
- Refresh generic OAuth access tokens (f1e68e2)
- Support generic OAuth form post callback (2bfd58b)
- Align generic OAuth profile errors (eb3085c)
- Support generic OAuth dynamic params (7b619f2)
- Redirect generic OAuth state errors (8915124)
- Preserve generic OAuth additional state (844cd0e)
- Honor generic OAuth link policy (5916ac5)
- Align generic OAuth empty scopes (e9c4208)
- Align Google access type default (8082e3a)
- Preserve empty provider scopes (ba440d8)
- Verify Google id tokens (9c0bd04)
- Reject future Google id tokens (ac2814c)
- Align username validation errors (beb1dc8)
- Align phone otp send route (7168b1e)
- Align phone number sign in (89cf55c)
- Align phone number verification payload (753c014)
- Align phone reset request (16b0f31)
- Align phone reset password (dfb6c49)
- Align phone verification flow (dab1709)
- Generate numeric phone otps (a55a1f0)
- Track phone otp attempts (b75b05d)
- Validate phone number auth inputs (40fa5fc)
- Require verified phone sign in (31e8cd4)
- Honor phone otp length (9b0115b)
- Report missing phone password state (b590575)
- Guard phone updates through verification (3a80f55)
- Align email otp sign in type (37212c4)
- Avoid reset otp for unknown emails (0890e22)
- Create users from email otp sign in (7d4b090)
- Track email otp attempts (f1adbc5)
- Align email otp reset password (214f5bb)
- Skip email otp sends for unknown users (07aadff)
- Align email otp change email (911a8c7)
- Generate numeric email otps (e308d70)
- Report email otp send failures (b79062c)
- Validate email otp addresses (e783dfc)
- Reuse email otps when configured (6c7db0c)
- Support custom email otp generation (5e75009)
- Add server email otp endpoints (78c5a4e)
- Support hashed email otp storage (646388f)
- Support custom hashed email otps (310a238)
- Support custom encrypted email otps (3119e10)
- Support encrypted email otp storage (7fea09a)
- Align email otp signup verification (a7b475a)
- Call password reset callbacks (304cd7f)
- Align username sign-in verification (2b4cff9)
- Support username validation options (cffe17c)
- Align username user fields (5fbc3ee)
- Align username error codes (1709a18)
- Report username lookup errors (b9f6f6d)
⚡ Performance Improvements
- Reduce OAuth provider allocations (4664717)
♻️ Code Refactoring
- Share Google/GitHub OAuth providers (872f909)
- Align Google/GitHub OAuth providers (094d518)
- Split OAuth builtins by provider (6657c48)
📚 Documentation
- Mark ID token sign in parity (d3c5601)
👷 Continuous Integration
- Format release notes from conventional commits (b278eb8)