Commit Graph

3087 Commits

Author SHA1 Message Date
Kinfe123
bfdb2e5237 fix: plugin middleware docs 2025-04-08 20:00:34 +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
Maxwell
f633d3e2dc fix(api-key): Return value of permissions should be object, not string (#1757) 2025-04-07 01:39:28 +03:00
Diogo Gaspar
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 Engida
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
Bereket Engida
85848f3ac5 chore: fix js doc typo on organization plugin 2025-04-06 10:02:29 +03:00
Maxwell
4dcb982cb9 fix(admin): defaultRoles, adminRoles + others not applying user config (#2128) 2025-04-06 07:50:18 +03:00
Bereket Engida
fb43141969 fix: missing disableRefresh type in server side getSession (#2141) 2025-04-06 07:49:45 +03:00
crutchtheclutch
f257f4b13d fix(open-api): hide disabled paths (#2144) 2025-04-06 07:45:45 +03:00
Daniel Worku
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
Xinyao
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
Netrifier
a686070437 fix(organization): fix conditional teamId inference (#2133) 2025-04-05 01:36:21 +03:00
Bereket Engida
61dc492fc1 fix(custom-session): custom session failing to set cookies (#2124) 2025-04-04 19:39:52 +03:00
Maxwell
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
Maxwell
f7199e3e41 fix(two-factor): 2fa error codes failing to infer (#2102) 2025-04-04 09:24:29 +03:00
KinfeMichael Tariku
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
Netrifier
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 Erquhart
fcb43aa7b9 fix: verify github email when profile has an email (#2078) 2025-04-03 21:25:58 +03:00
Maxwell
a783cd14cb docs(fix): contributing docs had invalid links (#2103) 2025-04-03 21:24:15 +03:00
Maxwell
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 Weththasinghe
20aa26ab7c docs: fix syntax spacing 2025-04-03 18:58:50 +05:30
Nikita Ganzikov
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
KinfeMichael Tariku
3b6d84bdea fix: deployment compat issue
fix: deployment compat issu
2025-04-02 15:12:45 +03:00
Kinfe123
4ff8139fcd fix: dep issue 2025-04-02 15:04:11 +03:00
SoSweetHam
75faf76dcf fix: forget password flow failing because of id conversion (#2083) 2025-04-02 14:50:15 +03:00
Alexander Cato
214c24bfdf docs: fix grammatical errors in admin plugin (#2081)
* docs: fix grammatical errors in admin.mdx

* docs: correct possessive form in admin.mdx
2025-04-02 14:10:51 +03:00
dependabot[bot]
f1963c994a chore(deps-dev): bump vite from 5.4.14 to 5.4.16 (#2066)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.14 to 5.4.16.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.16/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.16/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-02 06:54:04 +03:00
Netrifier
df72736d36 feat(admin): Add support for passing multiple roles as array (#1907)
* feat: add support for passing multiple roles as array

* docs(admin): update docs

* fix(admin): Fix admin role types not referenced correctly when custom roles are not passed

* test(admin): add test for multiple roles

* fix(admin): Fix duplicate exports of InferRolesFromOption and parseRoles from admin and organization plugin
2025-04-01 20:24:02 +03:00
KinfeMichael Tariku
e62ea0ff31 fix: tooltip arrow pointer
fix/tooltip pointer
2025-04-01 14:27:15 +03:00
Kinfe123
f9d735fb0e lint 2025-04-01 14:15:56 +03:00
Kinfe123
1c605cebde fix: tooltip arrow 2025-04-01 14:15:35 +03:00