Commit Graph

1460 Commits

Author SHA1 Message Date
Alex Yang
da52400a51 docs: fix typos (#4069) 2025-08-18 10:50:00 -07:00
Alex Yang
1815fb2b3f chore: lint json files (#4068) 2025-08-18 10:27:15 -07:00
Dagmawi Babi
c93d84b478 docs: Google and Roblox to use a space in the prompt value instead of a plus (#4027) 2025-08-15 08:59:29 -07:00
Jason Gerbes
b165c13055 feat(email-otp): add check verification otp endpoint (#1149)
* Improve OTP password reset flow

* Doc improvements

* Logic improvements

* nit

* Prevent too many attempts

* Changeset

* chore: changeset

* chore: remove braces

---------

Co-authored-by: Bereket Engida <Bekacru@gmail.com>
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-08-14 18:35:26 -07:00
Alex Yang
b622836703 docs: update section testimonial (#3964)
* docs: resolve overlapping border in the community page (#3962)

* chore: release v1.3.6

* docs: update section "people say"

* Update people-say.tsx

---------

Co-authored-by: KinfeMichael Tariku <65047246+Kinfe123@users.noreply.github.com>
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-08-13 12:45:20 -07:00
Bereket Engida
ad9eee9370 Merge branch 'canary' 2025-08-12 20:12:50 -07:00
KinfeMichael Tariku
f6b5735ce9 fix: prevent static nodejs imports and lazy import for non-nodejs env (#3947)
* fix(cli): incorrect api for auto increment in drizzle schema generation(#3940)

* fix(organization): make plugin schema compatible with exactOptionalPropertyTypes; build schema object without undefined optional keys and merge team tables conditionally; keep session fields literal and add teams conditionally

* fix: restore non-Node.js support by lazily importing

* test

* cleanup

* clean up

* lint

* fix(email-otp): type issue with extractOptionPropertyTypes (#3961)

* docs: add github star count in the community section  (#3960)

* github star count

* cubix issue fix

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>

* chore: lint

---------

Co-authored-by: Ben Agnew <78829885+ben-agnew@users.noreply.github.com>
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
Co-authored-by: Dagmawi Babi <44819176+dagmawibabi@users.noreply.github.com>
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-08-12 19:57:40 -07:00
KinfeMichael Tariku
91214268ef docs: resolve overlapping border in the community page (#3962) 2025-08-12 19:43:01 -07:00
Dagmawi Babi
84f8f659ce docs: add github star count in the community section (#3960)
* github star count

* cubix issue fix

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-08-12 18:48:20 -07:00
Bereket Engida
d8a7630ae2 fix(telemetry): remove node imports for compatibility and add telemetry notice (#3942)
* remove fs imports

* fix: detect-sys-info

* add notice

* cleanup

* remove notice

* add notice

* remove postinstall

* update docs
2025-08-11 20:03:17 -07:00
namgpham
f105f85c19 docs: added comment on sveltekit plugin integration (#3899)
Added comment to the user to place cookie setting plugin as the last item in the array similar to Next.js.

If not, will deal with problems on other plugins such as twoFactor
2025-08-11 10:42:12 -07:00
Bereket Engida
cfa295813c docs: hero padding should match the features section 2025-08-11 09:58:40 -07:00
KinfeMichael Tariku
5a3f0b60e9 docs: update missing links on contribution guide (#3922)
* docs: unify component implementations for consistency (#3799)

* fix(docs): unify component implementations for consistency

* update

* docs: contribution guide link

* lint
2025-08-11 09:58:40 -07:00
Bereket Engida
865641e1d0 chore: change examples url 2025-08-11 09:58:40 -07:00
KinfeMichael Tariku
15e0527a0b docs: add callout to populate event.locals.user and session in handlers (#3910)
* docs: add callout to set event.locals.user/session in handle

* update

* docs
2025-08-11 09:58:40 -07:00
Oskar Gmerek
fa4c6fb3e4 fix(username): remove normalize transform for displayUsername (#3912)
* fix(username): remove normalize transform for displayUsername
feat(username): add displayUsernameValidator

* feat(username): enhance username plugin with display username normalization and validation options

* docs

* update api

* update docs

* update docs

---------

Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-08-11 09:58:40 -07:00
Bereket Engida
f1898b005a chore: remove unused import 2025-08-11 09:58:40 -07:00
Bereket Engida
b73d3b26a7 chore: remove unused componenet 2025-08-11 09:58:40 -07:00
Fraol Lemecha
1e6735495e feat: add telemetry (#3822)
* feat: telemetry

Co-authored-by: Kinfe123 <kinfishtech@gmail.com>

* chore: remove changeset

* fix: do not generate project id unless telemetry is enabled

* fix: return `isInsiderContainerCached`

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* chore: remove unused utils file

* fix: properly cache generated project id

* feat: interpret empty env vars as false

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* fix: use nullish coalescing to set fallback

* fix: should be `isInsideContainerCached`

* fix: unique icons + tooltip for telemetry component

* fix: import child process from node

* fix: remove quotes in description

Co-authored-by: Alex Yang <himself65@outlook.com>

* fix: address reviews

Co-authored-by: Alex Yang <himself65@outlook.com>

* chore: refactor

* refactor

* add tests

* cache pkg json

* add cli tracking

* add migrate

* chore fix xi

* skip tet

* update snapshot

* chore: fix typecheck

* Expand telemetry docs: list collected fields, clarify anonymous redaction via getTelemetryAuthConfig, and document CLI events and audit/opt‑out paths.

* docs

* doc cleanup

* fixes

* remove git first commit message

* update docs

---------

Co-authored-by: Kinfe123 <kinfishtech@gmail.com>
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Alex Yang <himself65@outlook.com>
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-08-11 09:58:40 -07:00
Alex Yang
953ed14112 docs: hydration fix on wrapping table content (#3876) 2025-08-11 09:58:40 -07:00
Grant G
18f72643ef feat(oidc-provider): allow passing oauth consent code via query params (#3845)
* feat: pass oauth consent code via query params

* address cubic comments

* fix tests

* address comments
2025-08-11 09:58:40 -07:00
Grant G
b2ac809e5e feat(oidc-provider): add client to getAdditionalUserInfoClaim callback (#3790)
* feat: add oidc Client to getAdditionalUserInfoClaim

* address cubic comments

* run format
2025-08-11 09:58:40 -07:00
Bereket Engida
e5d2a5dbbd chore: bump biome (#3784) 2025-08-11 09:58:30 -07:00
Bereket Engida
f88e4b8dfb feat(organization): add option for requiring email verificaiton (#3785)
* feat(organization): add option for requiring email verificaiton

* add rejection

* docs: add docs
2025-08-11 09:58:01 -07:00
Alex Yang
8be5ede269 docs: remove unused import (#3927) 2025-08-11 14:12:20 +03:00
Braden Wong
f281c92b99 docs(hono): update RPC client to use init config instead of custom fetch (#3597) 2025-08-10 08:32:24 +03:00
Dagmawi Babi
5e0dace337 docs: fix google auth prompt (#3894)
Google OAuth2 uses space delimiters instead of + 

https://developers.google.com/identity/protocols/oauth2/web-server
2025-08-09 12:18:04 -07:00
Dagmawi Babi
44c407a513 chore: update api key docs (#3864)
Closes #3724
2025-08-08 09:03:34 -07:00
Nate
0fe1770404 docs: fix typo in SSR performance section
The line was missing "the".

Co-authored-by: KinfeMichael Tariku <65047246+Kinfe123@users.noreply.github.com>
2025-08-07 19:25:57 +03:00
KinfeMichael Tariku
bb7d504efe docs: enhance trustedOrigins option with examples (#3857)
* docs: enhance trustedOrigins option documentation

* nit
2025-08-07 09:09:19 -07:00
Jovan Lanutan
236c29e270 docs: remove unused import of 'auth' type in authClient setup (#3856)
In the previous implementation, the import statement for 'auth' type from './auth' was included as part of the setup for the authClient, but it is no longer being used in the current code. This update removes the unnecessary import to clean up the code and prevent potential confusion.

Additionally, the authClient setup remains intact with the use of 'inferAdditionalFields' plugin to define additional user fields (role type set to 'string').

- Removed unused import: `import type { auth } from "./auth"`
- Kept the authClient initialization with 'inferAdditionalFields' plugin

This resolves a minor issue and ensures that the code remains clean and maintainable.
2025-08-07 19:08:40 +03:00
Hysterelius
723a4f4dde docs: update TOTP 2FA docs to state that Better-Auth implements a delay window (#3586)
Better Auth uses a delay window for TOTP code verification to ensure that it is resilient to time delays
2025-08-06 17:00:11 -07:00
dogus
b5273623bf feat(stripe): create billing portal session (#3625)
* feat(stripe) : add billing portal session endpoint

* create billing portal session

* update docs

* chore: changeset

* chore: fix stripe

* chore: remove comment

* chore: update docs

---------

Co-authored-by: Bereket Engida <Bekacru@gmail.com>
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-08-06 16:09:32 -07:00
KinfeMichael Tariku
1932d04c5a docs: unify component implementations for consistency (#3799)
* fix(docs): unify component implementations for consistency

* update
2025-08-05 17:23:03 -07:00
Alex Yang
2afdd69e95 chore(demo): replace isLoading using useTransition (#3775)
* fix: use `useTransition` for isLoading

* fixup! fix: use `useTransition` for isLoading
2025-08-04 11:11:20 -07:00
Manuel Sanchez
e37e673e04 docs: adding reference to surrealdb adapter rewrite (#3754)
Adding reference to surrealdb adapter rewrite, with passing tests and schema generation as well as surreal native parameters.
2025-08-04 11:07:44 -07:00
Bereket Engida
fbdf2b3a18 chore: update ignore build script 2025-08-01 23:14:16 -07:00
Bereket Engida
3babdbb07c docs: update session mangement caveats 2025-08-01 23:02:40 -07:00
Bereket Engida
640f165a11 chore: add check for docs build 2025-08-01 16:52:38 -07:00
Andrew Patton
a2474faac6 docs: remove nonexistent invitation.createdAt field, add missing invitation.teamId field (#3741)
* docs: remove invitation.createdAt, add invitation.teamId

* docs: add team id optionally

---------

Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-08-01 13:11:10 -07:00
Andrew Patton
91cae8aa1e docs: fix wrong cancelUrl and returnUrl descriptions (#3647)
* docs: fix wrong cancelUrl and returnUrl descriptions

* chore: changeset

* chore: update changeset

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-08-01 09:43:48 -07:00
Marti
e5f3f31311 feat(passkey): allow custom passkey name during registration (#3587)
* feat(passkey): allow custom passkey name during registration

* lint

* docs: specify name prop in passkey docs

* chore: add changeset

* chore: changeset

* chore: update changeset

* remove changest

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-08-01 09:43:35 -07:00
Saviru
884d3d5c1e docs: fix open plugins link in same tab (#3737) 2025-08-01 08:32:47 -07:00
Maxwell
3225926889 docs(org): inferOrgAdditionalFields has wrong import path (#3734)
The newly introduced `inferOrgAdditionalFields` has the wrong import path in the docs.
2025-08-01 11:20:15 +03:00
Marcel Losso Forte
89a0ad3395 docs: addd better-auth-localization to community plugins (#3727) 2025-07-31 22:39:22 -07:00
Ambuj Kumar
685f70ae3d docs: update dodopayments docs due to breaking change in the package (#3715)
since version 1.0.0, all the endpoints exposed by the
@dodopayments/better-auth adapter now include a `dodopayments` prefix to
prevent conflict with other payment related better-auth plugins.
2025-07-31 16:23:28 -07:00
KinfeMichael Tariku
0656f3ef95 chore: add sitemap (#3720) 2025-07-31 11:22:48 -07:00
Braden Wong
33b0635c4d docs(hono): clarify CORS middleware must be registered before routes (#3707)
- Add complete example showing app.on() and serve() after CORS setup
- Include important note explaining CORS must come before route registration
- Ensures consistency with middleware section and prevents user confusion
- Critical for proper cross-origin request handling in authentication endpoints
2025-07-31 00:24:22 -07:00
Maxwell
15e0e59f6d docs: remove invalid customPaths option (#3709)
Previously a merged PR had this, but that PR was revered however didn't reverse the docs for it.
2025-07-31 00:19:18 -07:00
Mikel Solabarrieta
85ef3bd198 docs: update usernameValidator example return type from bool|undefined to bool (#3702) 2025-07-30 14:21:29 -07:00