Commit Graph
6898 Commits
Author SHA1 Message Date
Özgür ÖZALPandGitHub cbbd650efa fix: improve header value retrieval for IP address extraction (#1865) 2025-04-08 20:58:16 +03:00
Jason LeiandGitHub 8263382b92 feat(stripe): restore subscription (#1705)
* feat: restore stripe subscription

* documentation

* cleanup

* linting

* add subscriptionId as optional parameter
2025-04-08 20:57:37 +03:00
Bereket EngidaandGitHub 155d9486ae feat: one-time token plugin (#2151) 2025-04-08 20:50:13 +03:00
KinfeMichael TarikuandGitHub 48efd6ad1f feat(provider): twitter email support (#2176) 2025-04-08 20:20:37 +03:00
KinfeMichael TarikuandGitHub 014a9aa9ad docs: plugin middlewares value
fix: plugin middleware docs
2025-04-08 20:05:38 +03:00
Kinfe123 bfdb2e5237 fix: plugin middleware docs 2025-04-08 20:00:34 +03:00
72631554e5 fix(organization): updateMemberRole failing if issuer has multiple roles (#2104)
* fix(organization): updateMemberRole failing if issuer has multiple roles

* refactor: centralize permission checks using hasPermission utility in admin and organization plugins

* chore: cleaup

* chore: lint

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-04-07 11:12:38 +03:00
Bereket Engida 15cff90136 chore(test): use userInfo as a fallback 2025-04-07 10:16:11 +03:00
Bereket Engida 0b5c1941aa fix(generic-oauth): should check for email after mapProfileToUser 2025-04-07 10:02:02 +03:00
Bereket Engida 1f75bb504d chore: release v1.2.6-beta.6 v1.2.6-beta.6 2025-04-07 09:01:12 +03:00
Bereket Engida db13aa9a09 chore: update better-call package version to ^1.0.7 2025-04-07 08:45:16 +03:00
Bereket Engida 83c67c67ea refactor(plugin): two-factor plugin disable endpoint shouldn't validate password length 2025-04-07 01:44:01 +03:00
MaxwellandGitHub f633d3e2dc fix(api-key): Return value of permissions should be object, not string (#1757) 2025-04-07 01:39:28 +03:00
Diogo GasparandGitHub dd9daa04a8 docs(stripe): Added annual: true on the Create Subscription (#1725)
* Added `annual: true` on the Create Subscription on Stripe Docs

* docs: clarify comment for annual plan upgrade in Stripe integration
2025-04-07 01:35:29 +03:00
Bereket EngidaandGitHub 382f51f97d chore: update better-call package version to ^1.0.6 (#2159) 2025-04-07 01:32:45 +03:00
Bereket Engida 6a0898fa88 fix: redirect to defaultErrorURL if errorURL doens't exist 2025-04-06 18:45:17 +03:00
Kinfe123 6c617418b1 lint 2025-04-06 12:42:05 +03:00
Kinfe123 95e7819bd0 move keyword to better-auth 2025-04-06 12:40:26 +03:00
Kinfe123 05e00c4a26 move keyword to better-auth 2025-04-06 12:38:31 +03:00
Bereket Engida 85848f3ac5 chore: fix js doc typo on organization plugin 2025-04-06 10:02:29 +03:00
MaxwellandGitHub 4dcb982cb9 fix(admin): defaultRoles, adminRoles + others not applying user config (#2128) 2025-04-06 07:50:18 +03:00
Bereket EngidaandGitHub fb43141969 fix: missing disableRefresh type in server side getSession (#2141) 2025-04-06 07:49:45 +03:00
crutchtheclutchandGitHub f257f4b13d fix(open-api): hide disabled paths (#2144) 2025-04-06 07:45:45 +03:00
d24537b409 fix: genericOAuth default redirectURI for account linking (#2147)
* fix: genericOAuth default redirectURI for account linking

* chore: lint

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-04-06 07:44:35 +03:00
Bereket Engida a2296a0502 docs: simplify optimization guide 2025-04-05 21:24:48 +03:00
Bereket Engida 18744b04ba docs: remove unecessary details about db indexes 2025-04-05 21:22:00 +03:00
Bereket Engida 1704d1964c chore: remove label for the issue template 2025-04-05 13:52:16 +03:00
Bereket Engida 5584584c61 docs(reddit): apply correct scope property 2025-04-05 13:31:37 +03:00
Bereket Engida 84bcc4ac09 chore: update discord link 2025-04-05 11:40:41 +03:00
Bereket Engida 24214a9520 chore(oauth): replace encodeOAuthParameter with base64Url for encoding clientId and clientSecret 2025-04-05 10:36:12 +03:00
Bereket Engida 520a3e7bdc chore: release v1.2.6-beta.5 v1.2.6-beta.5 2025-04-05 08:06:05 +03:00
ffa24f74a5 fix(oauth): encode clientId and clientSecret in authorization header (#2120)
* fix(oauth2): encode clientId and clientSecret in authorization header

* fix(oauth2): refactor to use encodeOAuthParameter for clientId and clientSecret

* chore: lint

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-04-05 08:02:26 +03:00
NetrifierandGitHub a686070437 fix(organization): fix conditional teamId inference (#2133) 2025-04-05 01:36:21 +03:00
Bereket EngidaandGitHub 61dc492fc1 fix(custom-session): custom session failing to set cookies (#2124) 2025-04-04 19:39:52 +03:00
MaxwellandGitHub 016428ec68 docs(fix): rate-limit schema has two primary keys (#2122)
The field `key` shouldn't be the primary key, only `id`.
2025-04-04 19:35:54 +03:00
Bereket Engida 9909443bb4 docs(rate-limit): add warning about server-side rate limit 2025-04-04 18:33:23 +03:00
Bereket Engida bcc17b96a0 docs(tanstack): update code block for API route example and fix syntax spacing 2025-04-04 15:57:58 +03:00
Bereket Engida ba83da0f08 docs(drizzle): add drizzle-kit generate command 2025-04-04 15:54:54 +03:00
Bereket Engida d1c86b0b24 docs: update rate limit schema 2025-04-04 13:10:43 +03:00
MaxwellandGitHub f7199e3e41 fix(two-factor): 2fa error codes failing to infer (#2102) 2025-04-04 09:24:29 +03:00
KinfeMichael TarikuandGitHub 1116638cc4 fix: docs syntax spacing
docs: fix syntax spacing
2025-04-04 06:47:40 +03:00
Bereket Engida ef18d1bb7e chore: release v1.2.6-beta.4 v1.2.6-beta.4 2025-04-04 01:00:52 +03:00
NetrifierandGitHub 381281f2d1 fix(admin): pass where clause to adapter.count to fix total value on listUser (#2109) 2025-04-04 01:00:31 +03:00
Shawn ErquhartandGitHub fcb43aa7b9 fix: verify github email when profile has an email (#2078) 2025-04-03 21:25:58 +03:00
MaxwellandGitHub a783cd14cb docs(fix): contributing docs had invalid links (#2103) 2025-04-03 21:24:15 +03:00
MaxwellandGitHub 10893badbc fix(stripe): allow customizing subscription schema (#2105)
This was documented in docs at https://www.better-auth.com/docs/plugins/stripe#customizing-the-schema but wasn't implemented.
This is now fixed.
2025-04-03 21:23:43 +03:00
Thejana WeththasingheandGitHub 20aa26ab7c docs: fix syntax spacing 2025-04-03 18:58:50 +05:30
Nikita GanzikovandGitHub 8d35723221 feat: mapProfileToUser in vk social-provider (#1944) 2025-04-02 23:41:42 +03:00
Bereket Engida 2b38023928 chore: update nizzy profession 2025-04-02 19:21:25 +03:00
Bereket Engida dbe66b9fde fix(oidc-provider): add cookie options for path and sameSite in authorize 2025-04-02 15:49:32 +03:00