Commit Graph

376 Commits

Author SHA1 Message Date
Taesu
698678bcd0 chore: revert pnpm v11 upgrade and action-setup bump (#9529) 2026-05-09 15:54:10 +00:00
Taesu
d4d7888d62 chore: upgrade to pnpm v11 (#9416) 2026-05-01 02:22:49 +00:00
Gustavo Valverde
a3348dab01 chore(deps): pin patched versions in demo lockfiles (#9168) 2026-04-22 16:22:24 +00:00
Taesu
d1b27d7af6 chore(demo): update deps, imports, tsconfig to fix build (#9302) 2026-04-22 10:24:48 +00:00
dependabot[bot]
ed2c18df31 chore(deps): bump next from 16.2.2 to 16.2.3 in /docs (#9112)
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>
Co-authored-by: Taesu <166604494+bytaesu@users.noreply.github.com>
2026-04-12 08:47:53 +00:00
Taesu
5f84335815 feat(stripe): support Stripe SDK v21 and v22 (#9084)
Co-authored-by: leonardo2204 <1509421+leonardo2204@users.noreply.github.com>
Co-authored-by: better-release[bot] <273320539+better-release[bot]@users.noreply.github.com>
2026-04-10 06:19:34 +00:00
Ray
6ce30cf138 fix: incorrect operationId in password reset callback endpoint (#9072)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-04-09 20:13:06 +00:00
Taesu
0a09441200 chore: fix lockfiles and cspell pre-commit hook (#9039) 2026-04-08 14:03:24 +00:00
dependabot[bot]
514a3062ec chore(deps-dev): bump vite from 7.3.1 to 7.3.2 (#9001)
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-04-08 08:02:56 +00:00
dependabot[bot]
a9e4f50b14 chore(deps): bump mcp-handler from 1.0.7 to 1.1.0 in /demo/nextjs (#8907)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-02 08:07:03 +00:00
Taesu
163d76fb4a chore(demo): remove 'type': 'module' from nextjs demo (#8776) 2026-03-25 21:06:19 +00:00
Alex Yang
92d60cd0d4 chore(deps): bump next.js from 16.1.6 to 16.2.0 (#8682) 2026-03-18 22:11:23 +00:00
dependabot[bot]
c6fe68f276 chore(deps): bump hono from 4.12.3 to 4.12.7 in /demo/nextjs (#8543)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-11 02:13:07 +00:00
dependabot[bot]
626bfc4019 chore(deps): bump tar from 7.5.9 to 7.5.10 in /demo/electron (#8408)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-05 20:41:35 +00:00
dependabot[bot]
1657116612 chore(deps): bump hono from 4.12.3 to 4.12.5 in /demo/nextjs (#8393)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-05 20:40:50 +00:00
Alex Yang
eb202d21b7 chore: fix agents directory structure 2026-03-03 14:25:36 +09:00
Alex Yang
6d61759a41 chore: fix demo/nextjs setup 2026-03-02 00:54:56 +09:00
Alex Yang
e237c77056 chore: add cherry-pick-release sub-agent (#8254) 2026-03-01 15:02:23 +00:00
Alex Yang
35412b01ab fix(expo): avoid shim require (#8253) 2026-03-01 14:38:30 +00:00
Alex Yang
32c8a11de7 chore: separate the demo into different lock files (#8251) 2026-03-01 13:58:04 +00:00
Alex Yang
443ffc92b1 chore: bump expo deps (#8250) 2026-03-01 13:15:08 +00:00
Alex Yang
8048a1d367 chore: upgrade dependencies (#8183) 2026-02-27 08:11:46 +00:00
Bereket Engida
72ec62ff06 chore: integrate new dash and sentinel into authentication flow (#8053) 2026-02-18 13:02:21 -08:00
Bereket Engida
b8ed56d135 chore: update infra version (#8052) 2026-02-18 12:27:53 -08:00
Joél Solano
7306c5af05 feat(electron): allow manual token exchange & add sanitizeUser option (#7976) 2026-02-16 23:10:02 -08:00
Carlos Eduardo Medim
cc65d9085e feat(providers): add Railway OAuth provider (#7730) 2026-02-16 12:49:02 -08:00
Joél Solano
b1f917e5e6 refactor(electron): hoist setupRenderer and bundle into separate file (#7936) 2026-02-13 09:34:56 +00:00
Alex Yang
d5955d6ab2 chore: bump version (#7882) 2026-02-12 13:27:12 +00:00
Joél Solano
3d17eaee3f chore(electron) add openapi metadata to routes (#7872) 2026-02-10 01:04:28 +00: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
Joél Solano
1c9aab3bce feat: electron integration (#7647)
Co-authored-by: Alex Yang <himself65@outlook.com>
2026-02-04 20:37:05 +00:00
Alex Yang
c1f046f588 chore: bump version (#7646) 2026-01-27 23:12:31 +00:00
Alex Yang
b0a6fb89c4 chore: bump version (#7626) 2026-01-27 21:05:02 +00:00
Alex Yang
80a1c7daca chore: bump deps (#7508) 2026-01-20 23:55:35 +00:00
Alex Yang
4bf407d161 refactor: separate adapters into different packages (#7439) 2026-01-20 06:25:17 +00:00
Alex Yang
f53eb498d9 chore: bump deps (#7475) 2026-01-19 23:56:56 +00:00
Taesu
ac0cb53ec0 chore(demo): correct trustedProviders option (#7449) 2026-01-18 21:54:03 +00:00
Bereket Engida
ab5c2e7d64 chore(demo): hide admin dashboard for non-admin users 2026-01-17 22:18:42 -08:00
Bereket Engida
890bcce053 chore: update @better-auth/dash version to ^0.1.6 in package.json and pnpm-lock.yaml 2026-01-17 17:39:15 -08:00
Alex Yang
cccfe03283 chore: add @better-auth/dash (#7433) 2026-01-17 04:23:48 +00:00
Alex Yang
531b9d56a5 chore: add lint rule useConst (#7369) 2026-01-14 14:18:18 -08:00
Jonathan Samines
2a728dbd95 chore(scim): add SCIM demo (#6639)
Co-authored-by: Alex Yang <himself65@outlook.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-13 16:15:24 -08:00
Alex Yang
4c897d19d2 chore: bump dev deps (#7287) 2026-01-12 03:36:24 -08:00
Bereket Engida
3b7b96ee02 demo: improve demo project ui (#7269)
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Bereket Engida <Bekacru@users.noreply.github.com>
2026-01-11 14:50:10 -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
a17468438d docs: build regression after format (#7110) 2026-01-04 01:28:36 +08:00
Alex Yang
8b01d6abac chore: format markdown (#7103) 2026-01-03 16:55:39 +08:00
Alex Yang
5a8ff63e8d chore: bump next (#6986) 2025-12-25 00:01:06 +08:00
Taesu
9d882ed5cf chore(demo): redirect to home when current session is removed (#6907) 2025-12-23 11:47:08 +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