3558 Commits

Author SHA1 Message Date
Bereket Engida
08d92952ab chore: release v1.2.10 v1.2.10 2025-06-20 15:05:19 -07:00
Bereket Engida
cdff6380ae chore: update hugging face logo 2025-06-20 15:02:28 -07:00
Eliott C.
6304efa8f0 feat: add Hugging Face provider (#3089)
* feat: add huggingface provider

* Add hugging face to doc
2025-06-20 15:01:29 -07:00
reslear
38e422e4c4 feat: link account with idToken (#1830)
* add idToken to link account

* add docs

* Implemented linking accounts based on idToken

* fix: tests

* docs: prevent diff

* docs: prevent diff

---------

Co-authored-by: kzlar <120426485+kzlar@users.noreply.github.com>
2025-06-20 15:01:06 -07:00
Bereket Engida
9801d1be53 fix(expo): remove duplicated trusted origins 2025-06-20 13:43:38 -07:00
KinfeMichael Tariku
de6b53ce4e fix: expose headers override in jwt plugin (#3019)
* expose headers override in jwt plugin

* clean up

* lint
2025-06-20 13:32:15 -07:00
KinfeMichael Tariku
88573aa9dc fix: onLinkAccount trigger on phone number verification (#3007) 2025-06-20 13:10:46 -07:00
KinfeMichael Tariku
e0b38d0018 docs: input field usage on additional fields (#2991) 2025-06-20 13:08:33 -07:00
Bereket Engida
6a08d284a9 docs: fix session parameter spelling (#3108) 2025-06-20 12:30:05 -07:00
Bereket Engida
7eded3da8a chore: fix typo in authorize comment (#3106) 2025-06-20 12:24:12 -07:00
artemoire
1b0aef5be3 fix: use correct refresh token endpoint for github (#3095) 2025-06-20 11:50:49 -07:00
Undefined Ninja
ce4d250ad5 docs: corrected github user email scope name (#3099)
* docs: corrected github user email scope name

* docs: cubic dev suggestion
2025-06-20 08:26:48 -07:00
Maxwell
e49eb954b0 docs: basic errs with svg props (#3102) 2025-06-20 08:26:13 -07:00
Maxwell
9714131eaf feat: Allow passing id in DB hook create (#3048)
* feat(database-hooks): Allow passing `id` in DB hook `create`

It's the same to using a custom `idGenerator`, except configurable by the database hook which would in theory provide more data.

A use-case is to generate the id based on user info in the user before DB hook.

Solves https://discord.com/channels/1288403910284935179/1379190465588367540/1384217435535835216

* chore: lint

* fix: tests failing
2025-06-20 08:25:42 -07:00
Maxwell
f12e345beb chore(org): add comments explaining what shimContext does (#3098) 2025-06-20 07:39:40 -07:00
Bereket Engida
7c728248dc fix: delete user should respect freshAge config (#3075)
* fix: delete user needs to enforced through fresh age

* cleanup

* cleanup
2025-06-18 21:20:52 -07:00
KinfeMichael Tariku
fd62eba1d0 fix(email-otp): auto-verify on email otp reset (#3022) 2025-06-16 13:51:41 -07:00
Maxwell
e4bed5c786 docs(passkey): Fixed signIn passkey props (#3014)
callbackURL doesn't exist.
2025-06-16 00:31:42 -07:00
Bereket Engida
482c99f246 fix(email-verification): improve email verification logic to check session and user email consistency (#3042) 2025-06-15 23:22:03 -07:00
KinfeMichael Tariku
93d5bbe04d fix: expose-headers override in bearer plugin when setting set-auth-token (#3029)
* fix: bearer override headers

* clean up
2025-06-15 15:43:52 -07:00
Bereket Engida
c7f8be1c72 fix: duplicate oauth registration (#3038)
* fix: duplicate oauth registration

* revert to checking account id instead
2025-06-15 15:33:31 -07:00
Erik Petersen
526c9372fa fix: always use custom errorURL when available (#2640)
* Use custom errorURL when available

* fix oidc

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-06-15 15:09:20 -07:00
Tim Etler
0df8793f5f fix: deleteUser check session freshAge using ms instead of sec (#3020) 2025-06-15 12:51:20 -07:00
Bereket Engida
b6edbb9ab9 docs: remove callout and default cookie attributes for cross subdomain cookies 2025-06-15 12:44:33 -07:00
Bereket Engida
4ae34800f8 fix: remove active organization when member isn't found 2025-06-15 12:44:33 -07:00
Jafri
2b46191017 fix: incremental scopes for Microsoft and return all granted scopes for Google (#3013) 2025-06-15 09:17:41 -07:00
Maxwell
015ba5632b feat(organization): maximumMembersPerTeam support (#2374)
* feat(organization): maximumMembersPerTeam support

Allow configuration of maximum number of members allowed in a team.

* chore: cleanup
2025-06-14 15:14:16 -07:00
Maxwell
475472c971 fix(get-session): missing null type on /get-session when throw:true is set (#3026)
* fix(get-session): missing `null` type on /get-session

When there isn't an active session, `null` is returned on the `/get-session` endpoint.
This was missing in types.

* chore: fix type errors
2025-06-14 14:41:41 -07:00
KinfeMichael Tariku
e27d77a68f fix: propagate a secondary storage updates on updated user (#3000)
* update user propagate update on session with secondary storage

* lint

* descriptive
2025-06-13 23:02:48 -07:00
Tai Vo
552ea8a041 feat(cli): allow cli to use custom adapter createSchema if implemented (#3006)
* the cli now uses createSchema from custom adapters

* rename function misnomer and keep old name as deprecated
2025-06-13 16:59:00 -07:00
movero
06a613422b docs(microsoft): correct how to require account selection (#3016) 2025-06-13 16:58:03 -07:00
KinfeMichael Tariku
3348ae0e81 chore: fix demo build (#2995)
* fix: otp value and tries separator

* fix demo

* clean up
2025-06-12 22:18:14 -07:00
Bereket Engida
8207ae4e01 docs: fix scrollbar 2025-06-12 22:11:44 -07:00
Bereket Engida
b253130d5e chore: change sign-in box footer to built-with 2025-06-12 21:57:01 -07:00
Rohit Menon
6fcce5e6d1 fix(twitter): update email verification logic in profile mapping (#3005) 2025-06-12 21:31:39 -07:00
Muhammed Rahif
0de0a29bc7 docs(admin): clarify on the checkRolePermission function (#3002)
* docs(admin): clarify on the `checkRolePermission` function

* Update docs/content/docs/plugins/admin.mdx

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

* Update admin.mdx

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-12 21:31:04 -07:00
Bereket Engida
fe6a585f46 chore: release v1.2.10-beta.1 v1.2.10-beta.1 2025-06-12 21:09:34 -07:00
Julius Marminge
aedf7a36a0 fix(oauth-proxy): resolve current URL with precedence (#2998)
* better resolve url

* rm unused

* use an actual base type
2025-06-12 10:24:38 -07:00
Sean Luca Krüger
42e4fd728a fix(organization): organization with no members error (#2999)
* fix: handle empty userIds in getOrgAdapter to prevent errors

* refactor: remove unnecessary whitespace in getOrgAdapter function

* refactor: simplify user fetching logic in getOrgAdapter function

---------

Co-authored-by: Sean Luca Krüger <mail@seanlucakrueger.de>
2025-06-12 10:23:26 -07:00
matteovava
c91c6830d4 fix: support "ne" (not equal) filter in Prisma adapter (#2993) 2025-06-11 20:31:45 -07:00
Seth Weinheimer
3f25944726 docs: update options for oauth2 registration option (#2992) 2025-06-11 14:59:47 -07:00
Srikanth
c78574311b docs(tanstack): migrate from createAPIFileRoute to createServerFileRoute (TanStack Start) (#2984)
The `createAPIFileRoute` method is no longer available in the latest version of TanStack Start. This commit updates the codebase to use the new `createServerFileRoute` method for handling API routes, ensuring compatibility with the latest library version.
2025-06-11 12:27:38 -07:00
Matteo Urso
2a793139a5 docs: update casing for getMcpSession reference (#2978) 2025-06-11 11:33:12 -07:00
Bereket Engida
a47b9523e4 chore: release v1.2.9 v1.2.9 2025-06-10 00:10:42 -07:00
Anatole Dufour
cf25458cdb fix(prisma): "eq" invalid argument OR clause (#2874) 2025-06-09 23:58:43 -07:00
Bereket Engida
92801d97d7 feat: support stripe seat upgrade (#2967)
* feat: support stripe seat upgrade

* cleanup
2025-06-09 23:54:27 -07:00
Floryan Simar
496f355f9c fix(stripe): use the stripeSubscriptionId from the fetched subscription instead of the one from the request (#2940)
Closes: #2938
2025-06-09 23:35:02 -07:00
Julius Marminge
90db4c3896 fix: oauth proxy between http and https (#2895)
* Update index.ts

* support prefix

* chore: revert test

* skip oauth proxy header

* add test

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-06-09 23:30:32 -07:00
Rohan Godha
cb3f07f133 docs(stripe): document switching plans on a subscription (#2862)
* docs(stripe): document switching plans

* Update docs/content/docs/plugins/stripe.mdx

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

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-09 23:12:41 -07:00
Neco
f2def63dd8 docs: update surreal adapter community link (#2957)
## Replace unmaintained SurrealDB adapter with actively maintained version

### Summary
This PR updates the Community Adapters table to replace the unmaintained `surreal-better-auth` adapter with `surrealdb-better-auth`, which is actively maintained.

### Changes
- Updated SurrealDB adapter entry from `oskar-gmerek/surreal-better-auth` to `Necmttn/surrealdb-better-auth`
- Updated author information and GitHub avatar accordingly
- Maintained the same database dialect (SurrealDB)

### Reason for Change
The previous SurrealDB adapter (`oskar-gmerek/surreal-better-auth`) is no longer maintained. The new adapter (`surrealdb-better-auth`) provides ongoing support and maintenance for SurrealDB integration with Better Auth.

### Testing
- [x] Verified the new adapter repository exists and is publicly accessible
- [x] Confirmed the adapter is compatible with Better Auth
- [x] Updated documentation links are valid

This ensures users have access
2025-06-09 21:15:53 -07:00