Commit Graph
213 Commits
Author SHA1 Message Date
ac96316af3 fix(oauth): forward specific callback error codes via shared redirectOnError (#9788)
Co-authored-by: Gautam Manchandani <manchandanigautam@gmail.com>
2026-05-28 21:42:16 +00:00
TaesuandGitHub 14ef858971 docs: remove duplicated Dynamic Base URL link from sidebar (#9313) 2026-04-23 00:36:23 +09:00
35e9f9f6e4 docs: landing improvements (#9169)
Co-authored-by: Taesu <bytaesu@gmail.com>
2026-04-18 23:04:27 -07:00
MaxwellandGitHub d69d888b78 docs: add please_restart_the_process error page (#9224) 2026-04-17 13:01:31 +00:00
dd6528f45b docs(guides): move dynamic base url from concepts to guides and options (#9145)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-04-14 11:36:59 +00:00
TaesuandGitHub 54713e2fad docs: fix sidebar SVG icon colors and clean up New tags (#9041) 2026-04-08 17:14:40 +00:00
TaesuandGitHub b24fd23790 docs: remove commet plugin from sidebar (#9034) 2026-04-08 07:11:21 +00:00
TaesuandGitHub 91a838fdb7 docs: remove openfort plugin (#8940) 2026-04-04 07:09:24 +09:00
51518c372d docs: rework AI resources documentation (#8856)
Co-authored-by: Taesu <bytaesu@gmail.com>
2026-04-01 20:53:42 +00:00
Bereket KinfeandGitHub 8682b9d8d2 docs: add missing error pages and update errors index/sidebar (#8868) (#8873) 2026-04-01 20:12:38 +00:00
AlishGitHubcubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>MaxwellTaesu
f676436c2c docs: added documentation for @chargebee/better-auth. (#8753)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
Co-authored-by: Taesu <bytaesu@gmail.com>
2026-04-01 17:43:01 +00:00
TaesuandGitHub e3d1063a0a chore: merge landing app into docs (#8878) 2026-04-01 13:38:37 +00:00
MaxwellandGitHub 5bc743b002 docs: new documentation/landing page (#8195) 2026-02-27 16:49:34 -08:00
ad3fc4cca5 feat(api-key): Organization support in API-Keys & Multiple config support (#4210)
Co-authored-by: Alex Yang <himself65@outlook.com>
2026-02-24 08:25:00 +00:00
Carlos Eduardo MedimandGitHub cc65d9085e feat(providers): add Railway OAuth provider (#7730) 2026-02-16 12:49:02 -08:00
Jan HestersandGitHub 7da833258f docs: add test-utils plugin to sidebar navigation (#7958) 2026-02-15 11:06:35 +00:00
SaviruGitHubAlex YangPaola Estefanía de CamposTim Kellerclaude[bot] <41898282+claude[bot]@users.noreply.github.com>Alex YangTaesucopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
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
1c9aab3bce feat: electron integration (#7647)
Co-authored-by: Alex Yang <himself65@outlook.com>
2026-02-04 20:37:05 +00:00
MaxwellandGitHub 971abd5caa docs: add sub-pages to error docs (#7678) 2026-01-29 20:02:42 +00:00
TaesuandGitHub 1088b1c7c1 docs: move errors content to reference section (#7581) 2026-01-23 23:54:53 +00:00
Alex YangandGitHub 30c275753f feat: i18n plugin (#7428) 2026-01-21 04:08:09 +00:00
Alex YangandGitHub 08ff06d331 docs: remove 3rd Party Payment section (#7425) 2026-01-16 21:37:52 +00:00
Alex YangandGitHub a60db4448a docs: update paymnet community plugins (#7257) 2026-01-16 21:14:15 +00:00
TaesuandGitHub b930ca61c9 docs: fix SVG attributes and fumadocs type imports (#7192) 2026-01-08 15:19:27 +09:00
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
TaesuandGitHub 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 380d4c7cae Revert "docs: add Commet plugin documentation (#6827)"
This reverts commit 0ca1431fc6.
2025-12-23 23:42:46 +08:00
0ca1431fc6 docs: add Commet plugin documentation (#6827)
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-12-23 17:39:03 +08:00
TaesuandGitHub 2bf224cad8 docs: correct OAuth Provider sidebar icon color (#6935) 2025-12-23 11:08:36 +08:00
Dylan VanmaliandGitHub 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
TaesuandGitHub 461ff3c9db docs: use actual logo colors for migration guide section (#6676) 2025-12-11 11:10:04 +09:00
d57572d962 docs: add WorkOS migration guide (#6577)
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-12-08 14:18:55 -08:00
caykeyandGitHub 58e886c202 docs: correct spelling of 'Tiktok' to 'TikTok' (#6485) 2025-12-02 23:04:19 -08:00
TaesuandGitHub 0f97e281b4 docs: adjust social provider icon sizes and alignment (#6347) 2025-11-27 09:12:17 -08:00
TaesuandGitHub a4d200d8ea docs: cleanup new badge (#6337) 2025-11-26 17:53:47 -08:00
Ana TrajkovskaandGitHub 3ed454b257 feat: Add Vercel as OAuth provider (#6316) 2025-11-26 16:22:02 +00:00
MaxwellandGitHub 53b8f7e0a2 docs: add new badge to SCIM (#6205) 2025-11-22 08:10:56 -08:00
Jonathan SaminesandGitHub ffa29ee573 feat: adding support for SCIM provisioning (#5685) 2025-11-21 16:52:12 -08:00
Harry YepandGitHub 6351811ac4 feat(docs): adding missing auth & colour in builder (#5982) 2025-11-20 20:31:07 +00:00
TaesuandGitHub 48c1e9cb19 docs: rewrite Auth.js migration guide (#6076) 2025-11-19 18:54:59 +00:00
Jonathan SaminesandGitHub 57ee11a26f chore(lint): enforce consistent import type style (#6044) 2025-11-17 21:11:39 +00:00
TaesuandGitHub 9698ca1465 docs: adjust dodopayments icon color (#6010) 2025-11-15 21:12:57 +00:00
Bereket EngidaandGitHub 31cb70c7e9 docs: update sidebar content order (#5923) 2025-11-11 19:30:07 -08:00
MaxwellandGitHub c49011ad65 docs: remove outdated isNew badge (#5840) 2025-11-07 19:47:59 +00:00
bc5806c866 docs: adds creem plugin adaptor reference (#5829)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-07 18:03:45 +00:00
b581391035 feat(paybin): add Paybin OAuth provider (#5626)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-28 02:06:42 +00:00
Alex YangandGitHub 938c2a7c31 chore: lint enable organize import (#5556) 2025-10-24 19:05:09 +00:00
Ephraim DuncanandGitHub 4b0756b922 feat: add polar oauth provider (#5506) 2025-10-22 23:43:51 +00:00
Muhammad Roisul AdibandGitHub b186b2dde9 docs: change stroke-width to strokeWidth in sidebar-content (#5181) 2025-10-09 04:29:10 +00:00