Commit Graph

508 Commits

Author SHA1 Message Date
Oluwatobi Mustapha
664c1d7a9a fix(security): prevent OTP reuse via race condition (#8067) 2026-02-21 23:31:17 -08:00
Carlos Eduardo Medim
cc65d9085e feat(providers): add Railway OAuth provider (#7730) 2026-02-16 12:49:02 -08:00
Taesu
b7400754fc docs: use Fumadocs default search engine powered by Orama (#7984) 2026-02-15 13:09:40 -08:00
Jan Hesters
7da833258f docs: add test-utils plugin to sidebar navigation (#7958) 2026-02-15 11:06:35 +00:00
Joél Solano
fe3b4ec3b5 docs: fix typo & unresolved imports (#7954) 2026-02-13 03:06:18 +00:00
Guilherme Jansen
0d30d7ab98 docs: add better-auth-waitlist to community plugins (#7889) 2026-02-11 12:37:39 +00:00
Alexander Asomba
05d85fea57 docs: update better-auth-paystack name and description (#7908) 2026-02-11 12:31:33 +00:00
Maxwell
b97ba4e5f2 docs: improve community plugins table (#7874) 2026-02-09 23:58:46 +00:00
LovelessCodes
fc79753e0f docs: update TanStack icon (#7841)
Co-authored-by: Taesu <bytaesu@gmail.com>
2026-02-09 09:39:22 +00:00
Saviru
5c6ccfa688 docs: update to React Router v7 and improve docs (#7457)
Co-authored-by: Alex Yang <himself65@outlook.com>
Co-authored-by: Paola Estefanía de Campos <84341268+Paola3stefania@users.noreply.github.com>
Co-authored-by: Tim Keller <36288711+tjkeller-xyz@users.noreply.github.com>
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Alex Yang <himself65@users.noreply.github.com>
Co-authored-by: Taesu <166604494+bytaesu@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-02-05 18:46:34 +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
Maxwell
971abd5caa docs: add sub-pages to error docs (#7678) 2026-01-29 20:02:42 +00:00
Bereket Engida
7f34a97bba docs: hero improvements (#7673) 2026-01-29 11:35:56 -08:00
Paola Estefanía de Campos
b3cce69ad1 fix(cli): update MCP URL from Chonkie to Inkeep (#7585) 2026-01-26 17:18:38 +00:00
Taesu
8d6e8a1b59 docs: prevent content overflow (#7588) 2026-01-24 04:41:51 +00:00
Alex
bad586a512 docs: add better-auth-strapi community plugin (#7573) 2026-01-23 23:55:06 +00:00
Taesu
1088b1c7c1 docs: move errors content to reference section (#7581) 2026-01-23 23:54:53 +00:00
Alex Yang
30c275753f feat: i18n plugin (#7428) 2026-01-21 04:08:09 +00:00
Alex Yang
3be08411e5 docs: add a comment (#7512) 2026-01-21 04:05:41 +00:00
Alex Yang
16ef0b7d31 docs: fix @hookform/resolvers issue (#7511) 2026-01-21 03:39:15 +00:00
Alex Yang
cccfe03283 chore: add @better-auth/dash (#7433) 2026-01-17 04:23:48 +00:00
Bereket Engida
77844c0954 refactor: simplify social provider handling and improve layout in Builder and SignIn components 2026-01-16 19:44:18 -08:00
Alex Yang
08ff06d331 docs: remove 3rd Party Payment section (#7425) 2026-01-16 21:37:52 +00:00
Alex Yang
a60db4448a docs: update paymnet community plugins (#7257) 2026-01-16 21:14:15 +00:00
Alex Yang
531b9d56a5 chore: add lint rule useConst (#7369) 2026-01-14 14:18:18 -08:00
Joél Solano
372af1c51e docs: improve create sign in box (#7349) 2026-01-14 13:22:14 -08:00
Leon Weber
0d316e03a8 docs: add better-auth-nostr community plugin (#7360)
Co-authored-by: Alex Yang <himself65@outlook.com>
2026-01-14 10:01:45 -08:00
Bereket Engida
a1a6ae4eb4 docs: hide method/url from server-only API documentation (#7318)
Co-authored-by: Claude <noreply@anthropic.com>
2026-01-12 20:36:59 -08:00
Taesu
4bb52e1bae docs: correct sequenzy-better-auth community plugin link (#7289) 2026-01-12 04:10:53 -08:00
Nicolay
14947c20b4 docs: add Sequenzy to community plugins (#7266)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 14:51:06 -08:00
Taesu
20c21edaf4 docs: improve accessibility (#7253) 2026-01-11 16:37:55 +09:00
Taesu
b930ca61c9 docs: fix SVG attributes and fumadocs type imports (#7192) 2026-01-08 15:19:27 +09:00
Fuma Nama
85e6dcd5f8 chore: bump fumadocs (#7106)
Co-authored-by: Taesu <bytaesu@gmail.com>
2026-01-06 12:53:55 +08:00
Abdur Rahman
3a76b6e43b docs: improve sidebar content filtering and simplify CodeBlockTabs ren… (#7109)
Co-authored-by: Alex Yang <himself65@outlook.com>
2026-01-04 02:03:44 +08:00
Bereket Engida
c8110d8881 Revert "docs: bump fumadocs (#7101)"
This reverts commit 0fda455ce5.
2026-01-02 11:16:35 -08:00
Fuma Nama
0fda455ce5 docs: bump fumadocs (#7101) 2026-01-02 10:44:34 -08:00
Abdur Rahman
e11f233f89 docs: prevent sending empty message in AI chat (#7081) 2026-01-02 14:28:43 +08:00
Taesu
80bcf78841 docs: switch to default logo (#7086) 2026-01-02 14:21:57 +08:00
Taesu
16ce94bde2 docs: add gradient mask image for TOCScrollArea (#7032) 2025-12-30 13:56:14 +08:00
Taesu
69c582faef docs: improve community plugins page (#7031) 2025-12-28 22:58:50 -08:00
Taesu
720dcfcd6d docs: add payments section (#7030) 2025-12-28 22:57:03 -08:00
Alex Yang
e8458c47df Reapply "docs: add Commet plugin documentation (#6827)"
This reverts commit 380d4c7cae.
2025-12-26 14:46:00 +08:00
Alex Yang
cd5cdf4168 docs: use data table for community plugin list (#6953)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-12-24 23:38:15 +08:00
Alex Yang
380d4c7cae Revert "docs: add Commet plugin documentation (#6827)"
This reverts commit 0ca1431fc6.
2025-12-23 23:42:46 +08:00
Decker
0ca1431fc6 docs: add Commet plugin documentation (#6827)
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-12-23 17:39:03 +08:00
Taesu
2bf224cad8 docs: correct OAuth Provider sidebar icon color (#6935) 2025-12-23 11:08:36 +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
Taesu
9ffaa0f628 docs: fix AI chat code formatting issue (#6869) 2025-12-19 13:26:44 +08:00
Taesu
9952a78bbf docs: update logo for Christmas (#6806) 2025-12-17 17:14:07 -08:00
Taesu
461ff3c9db docs: use actual logo colors for migration guide section (#6676) 2025-12-11 11:10:04 +09:00