Commit Graph

44 Commits

Author SHA1 Message Date
better-release[bot]
6f17bb3ebd chore: release v1.6.3 (#9081) 2026-04-14 12:04:31 +01:00
better-release[bot]
700d298e1e chore: version packages (#9052) 2026-04-09 15:19:07 +01:00
better-release[bot]
85bb710edc chore: version packages (#9018)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-08 19:22:59 +00:00
better-release[bot]
d666a03372 chore: exit pre-release mode for v1.6.0 2026-04-06 14:41:56 +00:00
better-auth-releases[bot]
73beda26f9 chore: version packages (beta) (#8945)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-04 15:52:24 +00:00
Gustavo Valverde
1eec2e8090 chore: use caret ranges for internal peerDependencies (#8937) 2026-04-03 19:05:37 +00:00
Gustavo Valverde
77ead28455 chore: reset package versions to 1.5.6 (#8930) 2026-04-03 10:57:28 +00:00
Gustavo Valverde
e80cc38b0d fix: turbo caching, enforce lockfile integrity, expand pre-commit hooks (#8892) 2026-04-02 07:35:24 +00:00
Gustavo Valverde
04e91d1643 perf(build): reduce published package sizes (#8884) 2026-04-01 15:55:03 +00:00
Bereket Engida
841410031a chore: release v1.5.7-beta.1 2026-03-22 21:09:52 -07:00
Bereket Engida
c527d4e4cc chore: release v1.5.1-beta.4 2026-03-22 21:04:04 -07:00
Alex Yang
ab6b14cb19 chore: release v1.5.1-beta.3 2026-03-03 12:14:56 +09:00
Alex Yang
3ee808a48c chore: release v1.5.1-beta.2 2026-03-03 06:49:28 +09:00
Alex Yang
425c6abf6e chore: release v1.5.1-beta.1 2026-03-02 02:05:39 +09:00
Alex Yang
2fd1ef38e7 chore: release v1.5.0-beta.20 2026-02-28 02:20:43 +09:00
Alex Yang
8048a1d367 chore: upgrade dependencies (#8183) 2026-02-27 08:11:46 +00:00
Bereket Engida
554f0ef7e1 chore: release v1.5.0-beta.19 2026-02-25 16:21:37 -08:00
Alex Yang
66446bf418 chore: align package.json fields and add missing README.md files (#8131)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 20:58:06 +00:00
Alex Yang
714e5433a3 chore: release v1.5.0-beta.18 2026-02-24 01:36:14 +08:00
Alex Yang
0ce6c7ed7a chore: release v1.5.0-beta.17 2026-02-23 22:29:34 +08:00
Bereket Engida
e5683a7a64 chore: bump all packages to v1.5.0-beta.16 (#8037)
Co-authored-by: Ghost <ghost@better-github.app>
2026-02-18 00:49:17 -08:00
Bereket Engida
fae56a1b5c chore: release v1.5.0-beta.15 2026-02-16 15:23:33 -08:00
Bereket Engida
a8686cf552 chore: release v1.5.0-beta.14 2026-02-16 13:40:28 -08:00
Alex Yang
4163102121 chore: release v1.5.0-beta.13 2026-02-07 09:36:29 -08:00
Alex Yang
dd6dc4601f chore: release v1.5.0-beta.12 2026-02-06 17:25:17 -08:00
dependabot[bot]
b6fbe93a95 chore(deps): bump @modelcontextprotocol/sdk from 1.25.3 to 1.26.0 (#7797)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Yang <himself65@outlook.com>
2026-02-04 22:35:49 +00:00
Alex Yang
f82960b984 chore: release v1.5.0-beta.11 2026-01-30 16:44:59 -08:00
Alex Yang
9780a773fe chore: release v1.5.0-beta.10 2026-01-27 17:57:35 -08:00
Alex Yang
b0a6fb89c4 chore: bump version (#7626) 2026-01-27 21:05:02 +00:00
Alex Yang
59ae89ee52 test: fix ci falsely green (#7532) 2026-01-21 20:53:01 +00:00
Alex Yang
6295dfcd34 chore: release v1.5.0-beta.9 2026-01-20 19:38:14 -08:00
Alex Yang
80a1c7daca chore: bump deps (#7508) 2026-01-20 23:55:35 +00:00
Alex Yang
9806a932c2 chore: release v1.5.0-beta.8 2026-01-16 20:27:30 -08:00
Alex Yang
c7e826e20f chore: release v1.5.0-beta.7 2026-01-14 14:25:47 -08:00
Alex Yang
74357c5392 chore: release v1.5.0-beta.6 2026-01-12 15:21:20 -08:00
Alex Yang
244e4142f7 chore: release v1.5.0-beta.5 2026-01-12 12:11:24 -08:00
Alex Yang
23ac747b72 chore: release v1.5.0-beta.4 2026-01-12 02:47:34 -08:00
dependabot[bot]
272e3a3612 chore(deps): bump @modelcontextprotocol/sdk from 1.25.1 to 1.25.2 (#7175)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-10 06:49:50 -08:00
Alex Yang
ec50ee27b4 chore: release v1.5.0-beta.3 2026-01-10 02:10:36 -08:00
Alex Yang
59fac14aed chore: release v1.5.0-beta.2 2025-12-31 21:06:57 +08:00
Alex Yang
ebb889ff84 chore: move @better-auth/utils to catalog (#6981) 2025-12-24 21:38:06 +08:00
Alex Yang
41cb291b8c chore: release v1.5.0-beta.1 2025-12-23 23:56:13 +08:00
Bereket Engida
9d784407ca chore: release v1.4.8-beta.7 2025-12-22 11:40:01 -08:00
Dylan Vanmali
686fba4e11 feat(oauth-provider): an oauth 2.1 compliant plugin (#4163)
An upgrade to oidc-provider plugin that makes it oauth2.1 compliant and has a configuration that is secure by default.

Plans for the deprecation of oidc-provider plugin due to many inherent flaws in its design. Internally, plugin functions now share logic, providing for better future extensibility if new code_grants need to be written or user/client jwt or opaque tokens need to be written. Furthermore, as an oAuth 2.1 provider, it provides logic valid for an MCP server. When using the scope "openid" (optional, enabled by default), the server acts like an OpenId server able to issue id tokens and provides a /userinfo endpoint.

Features

OAuth 2.1 by default
Properly supports authorization_code, refresh_token, and client_credentials grants
PKCE by default (removes plain completely)
Public and confidential client registration
JWT plugin is required by default, but can be disabled using disableJWTPlugin flag
Access tokens can now be received in JWT verifiable format using the resource parameter (ie JWT aud field)
Id tokens are still verifiable by JWKS when using JWT Plugin, or clientSecret if disabled. Fixes issue to prevent public clients when disableJWTPlugin: true from obtaining id tokens directly even when they shouldn't be allowed an id token and should use /userinfo instead.
Protects /userinfo with scope check
Separates Refresh Token and Access token on database schema to allow multiple access tokens per refresh and multiple refresh tokens per login session.
oauthAccessToken strictly deals with opaque tokens
Opaque tokens are given only when resource parameter (aka audience) is not provided
Option to Encode and Decode refresh tokens
allowDynamicClientRegistration with allowUnauthenticatedClientRegistration flags
Separation of default expiration times
Proper creation of public and confidential clients
Prevents misconfiguration between .well-known/openid-configuration endpoint and plugin settings
scopeExpirations to assign scopes specific expiration
Custom claims through separated functions: customAccessTokenClaims, customIdTokenClaims, and customUserInfoClaims
Organizational support through activeOrganizationalId on a session such as through the organizational plugin. Attaches to oAuthClient via reference_id.
Rp-initiated logout
Account Selection via prompt=select_account.
Account Creation via prompt=create.
Prompt combinations prompt=select_account+consent and prompt=login+consent

Docs available at https://www.better-auth.com/docs/plugins/oauth-provider (pr: https://github.com/better-auth/better-auth/blob/main/docs/content/docs/plugins/oauth-provider.mdx)
2025-12-22 11:16:42 -08:00