Commit Graph

2243 Commits

Author SHA1 Message Date
Arman
83acedd634 fix(X): used x.com domain for all twitter provider urls (#2727) 2025-05-21 09:25:07 -07:00
Svend
0dddc723cb fix(apple): correctly map email verification status from profile (#2730) 2025-05-21 09:24:31 -07:00
Rahul Mishra
754c32ca95 fix: use dynamic list of social providers to allow generic oauth (#2643) 2025-05-20 13:52:41 -07:00
Zach Silveira
001bfab3ad fix(oidc-provider): consent should be able to be accepted if state is empty (#2723)
* fix consent not able to be accepted if state is empty

* chore: fix lint

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-05-20 13:26:59 -07:00
Vinayak Kulkarni
f7c53adb38 chore: fix typo in AuthorizeResponse type (#2724) 2025-05-20 12:55:24 -07:00
Rahul Mishra
659f8391df docs: fix discord invite links 2025-05-17 05:09:10 -07:00
Alex
e7aec18d7d chore: missing quotes for drizzle default values 2025-05-16 10:02:43 -07:00
Philipp Lampert
32ef53010b fix(magic-link): URI-encode magic link callbackURL (#2628) 2025-05-16 09:05:32 -07:00
Bereket Engida
62ed1a7783 feat: support bun sqlite by default (#2551)
* feat: support bun sqlite by default

* chore: add database type

* chore: proper lic

* chore: release v1.2.8-beta.5
2025-05-15 21:02:28 -07:00
Bereket Engida
56753b060f fix(admin): respect cookie prefix for impersonate admin cookies (#2553) 2025-05-15 20:55:44 -07:00
Bereket Engida
c822288518 chore: release v1.2.8 2025-05-15 20:45:34 -07:00
Bereket Engida
72e66ddc7f feat: add one time token generator 2025-05-15 20:25:01 -07:00
Maxwell
c717df986f fix(create-adapter): get default model ingetModelname (#2647) 2025-05-15 20:20:33 -07:00
Rahul Mishra
7eb1b2694b fix: getAccessToken should be available on the client (#2662) 2025-05-15 20:10:36 -07:00
Bereket Engida
6cb02b8680 chore: release v1.2.8-beta.8 2025-05-15 20:08:50 -07:00
Bereket Engida
eec052c787 chore: return early on invalid cookie 2025-05-15 20:08:44 -07:00
Muntasir Mahmud
d914650289 chore: clean up minor typo mistakes 2025-05-14 10:27:58 -07:00
KinfeMichael Tariku
81ab90865f docs: typo in admin plugin 2025-05-13 16:00:54 -07:00
Rahul Mishra
a017cbbaca fix: remove userInfoUrl check to allow using custom function without url (#2607) 2025-05-10 09:36:06 -07:00
cwstra
fdf3efb3c9 fix(open-api): misplaced requires properties (#2597)
* Fix verify email

* Fix sign-in social
2025-05-09 14:20:41 -07:00
Bereket Engida
58fb373ad2 chore:lint 2025-05-08 20:11:36 -07:00
Bereket Engida
ebc2ba753b fix: origin check failing when there is symbol in a query param (#2331) 2025-05-08 19:14:37 -07:00
Maxwell
fb130c9ee4 feat: getActions from client plugins to include clientOptions in get user client config (#2333)
* update: `getActions` from client plugins to include `clientOptions` in get user client config

* update: rename `clientOptions` to `options`

* chore: lint
2025-05-08 19:13:57 -07:00
Maxwell
cb1cbceffc feat(api-key): disable hashing API Keys (#2373)
* update(api-key): Custom hashing function for api-keys

Useful if the user wants to use a custom hashing algorithm, or if they want to disable hashing, they can just return the key itself.

* add: security warnings

* refactor: Change from customizaing hashing to disableHashing

* update: remove utils & update jsdoc

* chore: lint

* update: jsdoc & fix docs
2025-05-08 19:06:13 -07:00
Fredrik
81bdbf0f1b fix: pass context into createVerificationValue (#2363)
ctx wasn’t passed down before, so in config.databaseHooks.verification.create.before = async (verification, ctx) => {} the ctx argument was undefined in some cases. Now we forward ctx so the hook can receive it as expected.
2025-05-08 19:05:30 -07:00
Maxwell
79ff4b07f2 feat(adapter): allow providing id in create method (#2518)
* update(create-adapter): Allow providing `id` in create method

Allow providing `id` in the data of a create method if `forceAllowId` is provided as `true` in the create method call.

* chore: cleanup
2025-05-08 09:59:39 -07:00
Bereket Engida
52c38e2395 chore: release v1.2.8-beta.7 2025-05-08 08:45:55 -07:00
Rahul Mishra
97ea90eb85 fix: add default refreshAccessToken for microsoft provider (#2583) 2025-05-08 08:44:46 -07:00
Bereket Engida
4fc1f5a850 chore: release v1.2.8-beta.6 2025-05-07 12:56:16 -07:00
Bereket Engida
0aca4ba4c9 chore: release v1.2.8-beta.5 2025-05-07 12:56:06 -07:00
Mauricio Siu
b5537647a1 fix(api-key): pass real rateLimitvalue from ctx.body (#2432)
* fix(api-key): pass real rateLimitvalue from ctx.body

* test(api-key): add assertions for rate limit properties in api-key tests

* fix(api-key): use nullish coalescing for rateLimitEnabled default value

* test(api-key): add test for rateLimit configuration from plugin options
2025-05-07 11:20:38 -07:00
Rahul Mishra
6caf2a48ab feat: add getAccessToken api for oauth accounts (#2557)
* feat: add getAccessToken api for oauth accounts

* fix: remove returning refresh token and refactor

* add docs

* chore: move both access and refresh token to account

* chore: refactor to account.ts

* chore: mention refresh on getAcessToken

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-05-07 09:08:44 -07:00
Maxwell
947c4c9314 fix(organization): incorrect delete team error message (#2563) 2025-05-06 12:46:20 -07:00
Bereket Engida
0d97b2ee6a chore: move headers retriver in create session 2025-05-05 20:40:28 -07:00
Anatole Dufour
aef13e21c2 fix(stripe): reactivate subcrition filtering to only active or trialing subscription (#2268)
* feat(stripe): Adding priceId in db

* fix(stripe): reactivate subcrition filtering to only active or trialing subscription

* Revert "feat(stripe): Adding priceId in db"

This reverts commit 39e0224771.
2025-05-05 20:15:45 -07:00
Maxwell
f920103629 feat(anonymous): custom anonymous names (#2361)
* feat(anonymous): Custom name for anonymous users

* chore: lint

* chore: cleanup

* update: docs

* update: pass `ctx` to `generateName`
2025-05-05 20:14:10 -07:00
Bereket Engida
9f7ea672e6 fix(admin): handle redirecting banned users properly (#2273)
* fix: mapProfileToUser getting called twice during idToken login

* fix(admin): handle redirecting the user properly on social and callback based sign in

* chore: fix type
2025-05-05 20:11:45 -07:00
Bereket Engida
42a9f610d2 chore: update better-auth utils to v0.2.5 2025-05-05 11:47:09 -07:00
KinfeMichael Tariku
af2950e5ad fix: added password hashing to prevent timing attacks 2025-05-05 16:02:56 +03:00
Bereket Engida
b12b66cec6 chore: release v1.2.8-beta.4 2025-05-04 22:17:21 -07:00
KinfeMichael Tariku
3ddaa8a06f fix: revoke session on password reset 2025-05-04 20:25:10 +03:00
KinfeMichael Tariku
2baf504dc1 fix: remove unnecessary password hashing 2025-05-04 19:39:13 +03:00
KinfeMichael Tariku
77bd21d437 fix: username error code export 2025-05-04 16:33:25 +03:00
KinfeMichael Tariku
f876b3ffa2 fix: core schema model name definition on api-key 2025-05-04 16:29:13 +03:00
KinfeMichael Tariku
e75c67accc fix: resolve custom ts config path 2025-05-03 21:05:12 +03:00
KinfeMichael Tariku
b589e0405f fix: resolve type error caused by incorrect plugin import 2025-05-03 19:11:51 +03:00
Bereket Engida
80d93ea07e test: add validation for password update with incorrect current password 2025-05-02 04:53:41 -07:00
KinfeMichael Tariku
af402dba3a fix: add a default value for generated fields 2025-05-02 00:29:32 +03:00
Kevin Gallet
4bdeb3020c feat(generic-oauth): authorization request headers (#2507) 2025-05-01 07:16:54 -07:00
KinfeMichael Tariku
c8b4392854 fix: updateAt field on banning/unbanning users 2025-05-01 10:53:57 +03:00