Commit Graph

465 Commits

Author SHA1 Message Date
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
Jonathan Samines
9233783428 chore: remove unused variables (#6647) 2025-12-09 13:51:35 -08:00
Taesu
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
Taesu
fdd386eabc docs: improve ThemeToggle component and header layout (#6451)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-12-08 13:59:50 -08:00
Joél Solano
23cc8d9624 docs: fix layout (#6612) 2025-12-08 09:07:23 -08:00
Bereket Engida
2c4d04d542 docs: add enterprise page and form for support (#6607)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-12-08 01:45:48 -08:00
caykey
58e886c202 docs: correct spelling of 'Tiktok' to 'TikTok' (#6485) 2025-12-02 23:04:19 -08:00
Joél Solano
ea4a1235d2 docs: adjust sidebar breakpoint to same as navbar (#6471)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-12-02 10:35:05 -08:00
Jonathan Samines
fbe51c8f93 chore: add spell checker (#6319) 2025-12-01 10:33:38 -08:00
Bereket Engida
022ce29079 fix: return null early if userid isn't defined (#6418) 2025-11-29 22:47:12 -08:00
Bereket Engida
6d5e8a9338 docs: change theme toggle (#6416) 2025-11-29 21:43:39 -08:00
Taesu
0f97e281b4 docs: adjust social provider icon sizes and alignment (#6347) 2025-11-27 09:12:17 -08:00
Taesu
a4d200d8ea docs: cleanup new badge (#6337) 2025-11-26 17:53:47 -08:00
Ana Trajkovska
3ed454b257 feat: Add Vercel as OAuth provider (#6316) 2025-11-26 16:22:02 +00:00
Joél Solano
8c8c5adf39 docs(fix): navbar overflowing at certain viewport (#6279) 2025-11-24 18:04:06 -08:00
Bereket Engida
04936e128f docs: updated og image and add merch link to community section (#6251)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
Co-authored-by: Maxwell Weru <1645026+mburumaxwell@users.noreply.github.com>
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Slava Yultyyev <yultyyev@gmail.com>
Co-authored-by: Joél Solano <joelsolano@jsolano.de>
2025-11-23 20:35:38 -08:00
Maxwell
a41365ad0f chore(docs): fix ask ai query param (#6221) 2025-11-22 14:01:25 -08:00
Maxwell
53b8f7e0a2 docs: add new badge to SCIM (#6205) 2025-11-22 08:10:56 -08:00
Jonathan Samines
ffa29ee573 feat: adding support for SCIM provisioning (#5685) 2025-11-21 16:52:12 -08:00
Harry Yep
6351811ac4 feat(docs): adding missing auth & colour in builder (#5982) 2025-11-20 20:31:07 +00:00
Taesu
48c1e9cb19 docs: rewrite Auth.js migration guide (#6076) 2025-11-19 18:54:59 +00:00
Jonathan Samines
57ee11a26f chore(lint): enforce consistent import type style (#6044) 2025-11-17 21:11:39 +00:00
Taesu
3d64181efd docs: resolve ai chat scroll issue (#6043)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-17 18:23:11 +00:00
Taesu
9698ca1465 docs: adjust dodopayments icon color (#6010) 2025-11-15 21:12:57 +00:00
Turgay Saba
3715eb7073 chore: improve zod imports tree shaking (#5995)
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-11-15 21:06:01 +00:00
Taesu
548da434d0 docs: add bottom margin to TOC (#6011) 2025-11-15 20:45:55 +00:00
Bereket Engida
31cb70c7e9 docs: update sidebar content order (#5923) 2025-11-11 19:30:07 -08:00
Alex Yang
46dd430367 docs: fix build issue (#5921) 2025-11-12 01:26:05 +00:00
Bereket Engida
84e715fa9b docs: change ask ai button placement (#5920)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-11-12 00:57:44 +00:00
Maxwell
c49011ad65 docs: remove outdated isNew badge (#5840) 2025-11-07 19:47:59 +00:00
Gabriel Ferraz
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
Gautam Manchandani
6e878c188b docs: prevent TOC flicker on anchor link click (#5805)
Signed-off-by: GautamBytes <manchandanigautam@gmail.com>
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2025-11-06 17:39:12 +00:00
Taesu
f327e336c8 refactor: split the passkey plugin into a separate package (#5769) 2025-11-05 17:05:39 +00:00
Maxwell
f9964b01e4 feat: Improved API error page (#5272)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-11-04 23:12:38 +00:00
Babou
d9141c6482 docs(builder): fix layout overflow on smaller screens (#5752)
Co-authored-by: EvanGourmaud <83598451+EvanGourmaud@users.noreply.github.com>
2025-11-04 19:12:14 +00:00
Taesu
6d4e7bc0fe docs: drop halloween logo (#5732) 2025-11-02 20:55:30 +00:00
Taesu
a283eca2a1 docs: revert hero section command (#5707) 2025-10-31 20:58:35 +00:00
Taesu
7ff7e6a79c docs: fix runtime errors and clean up code (#5656) 2025-10-28 23:46:38 +00:00
Taesu
360f257b6d docs: improve UX for floating-ai-search component (#5653) 2025-10-28 22:49:30 +00:00
Taner
0e899c9b28 docs: fix typo in import statement formatting in auth client (#5652) 2025-10-28 22:13:43 +00:00
Jeffrey Lind
5d1c18ba13 docs: delete leading and trailing whitespaces in className strings (#5650) 2025-10-28 21:25:08 +00:00
Bereket Engida
96430941ef docs: restore get started button style (#5642) 2025-10-28 16:02:49 +00:00
Ferit
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
Taesu
09ce64fd17 docs: adjust NavLink target handling (#5603) 2025-10-27 15:41:00 +00:00