Shawn Erquhart and GitHub
5483522d95
chore: re-add concurrently dev dep ( #2282 )
2025-04-15 09:32:16 +03:00
KinfeMichael Tariku and GitHub
035d287ebf
Merge branch 'main' into feat/keywords-for-better-auth-npm
2025-04-14 13:39:10 +03:00
KinfeMichael Tariku and GitHub
3c56085621
docs: minor updates to docs
2025-04-14 13:35:07 +03:00
Bereket Engida
2e2d2fed07
chore: return back callback url on signup
2025-04-14 11:04:10 +03:00
Bereket Engida
c399ca5c22
fix: mapProfileToUser getting called twice during idToken login
2025-04-14 11:04:10 +03:00
Bereket Engida
fd1f41e395
chore: revert zod to stable release
2025-04-13 23:16:23 +03:00
Bereket Engida
164ad27221
docs: mark one-time-token plugin new
2025-04-13 21:19:31 +03:00
Bereket Engida
dfd9122571
chore: release v1.2.7
2025-04-13 20:22:23 +03:00
Anatole Dufour and GitHub
d341fa94c0
fix(stripe): adding ability to restore cancelled trialing subscriptions ( #2262 )
2025-04-13 20:10:46 +03:00
Bereket Engida
eb642c72ca
chore: cleanup
2025-04-13 20:01:22 +03:00
Bereket Engida and GitHub
ffde0ecb69
fix(stripe): force post method for subscription restore ( #2259 )
2025-04-13 18:08:08 +03:00
Bereket Engida
f330364709
refactor(auth): require strict type in betterAuth function signature
2025-04-13 18:07:26 +03:00
Bereket Engida
2d5349785f
chore: release v1.2.7-beta.1
2025-04-13 17:05:39 +03:00
adecfe728c
fix(haveIBeenPwned): add proper error code ( #2255 )
...
* Updated error code
* Update haveibeenpwned.test.ts
* fix error code
* fix: wrong error code usage
---------
Co-authored-by: Bereket Engida <bekacru@gmail.com >
2025-04-13 17:01:08 +03:00
Bereket Engida
311d481c1e
chore: hash password before user is created
2025-04-13 16:59:34 +03:00
Bereket Engida and GitHub
53c711cec8
fix(adapter): improve field lookup logic in createAdapter ( #2245 )
2025-04-13 16:45:01 +03:00
Kinfe123
c9ac010940
lint
2025-04-13 15:22:23 +03:00
Kinfe123
7dff503e86
fix: prevent a user from created on haveibeenpwned
2025-04-13 15:21:52 +03:00
Jonas Dautel and GitHub
5689df6c64
fix(organization): checking if User is intended recipient of Invite is casesensetive ( #2251 )
2025-04-13 15:16:09 +03:00
Jelf and GitHub
f5b86d7c2f
fix(drizzle-adapter): correct count retrieval in the update function ( #2244 )
2025-04-13 15:12:47 +03:00
Anthony DePasquale
a313d19198
URL
2025-04-13 14:11:08 +02:00
Anthony DePasquale
863129ca70
"up to date" (no hyphens needed when not modifying a noun)
2025-04-13 14:11:08 +02:00
Anthony DePasquale
952a6613ad
API
2025-04-13 14:11:08 +02:00
Anthony DePasquale
fc4c0eb280
Better Auth
2025-04-13 14:11:08 +02:00
Anthony DePasquale
1b092e42be
"sign in" and "sign up" as verbs
2025-04-13 14:11:08 +02:00
Anthony DePasquale
9f78ee8d4c
Code
2025-04-13 14:11:08 +02:00
Anthony DePasquale
25d517e99e
TypeScript
2025-04-13 14:11:08 +02:00
KinfeMichael Tariku and GitHub
01d1be64e7
fix: authentication type missing on refershToken options
...
fix: added c.authentication to refresh token
2025-04-13 14:58:18 +03:00
Maxwell and GitHub
c6eb16e626
fix(cli): schema gen with Drizzle for PG to generate text instead of uuid ( #2248 )
2025-04-13 14:30:16 +03:00
Kinfe123
feebaa8162
lint
2025-04-13 14:18:48 +03:00
Kinfe123
8836938b7b
reexporting on build
2025-04-13 14:18:27 +03:00
Kinfe123
c0aca98462
lint
2025-04-13 14:11:50 +03:00
Kinfe123
12958447f8
export error code
2025-04-13 14:11:19 +03:00
Kinfe123
c8b52765e2
lint
2025-04-13 14:05:39 +03:00
Kinfe123
2ee923f64e
feat: error code support for haveibeenpwned
2025-04-13 14:05:10 +03:00
Alexander Abou Chedid
48d6224693
fix: added c.authentication to refresh token
2025-04-13 04:14:23 +03:00
Bereket Engida
f3b630312c
chore: release v1.2.6
2025-04-13 01:08:07 +03:00
Bereket Engida
e06b3e03d2
chore: update expo dependencies to latest versions
...
- Bump expo-constants to 17.0.8
- Update expo-linking to 7.0.5
- Upgrade expo-secure-store to 14.0.1
- Upgrade expo-web-browser to 14.0.2
2025-04-13 00:45:15 +03:00
Bereket Engida
e09ceae2d6
feat(username): export the correct error codes for the plugin
2025-04-13 00:10:07 +03:00
Bereket Engida
6be9c58de9
chore: release v1.2.6-beta.13
2025-04-13 00:01:08 +03:00
Bereket Engida
3c7800aa46
chore: export sso helper types
2025-04-13 00:01:01 +03:00
c6d599e2c8
feat(generic-oauth): Added field discoveryHeaders to GenericOAuthConfig ( #2205 )
...
* Added field discoveryHeaders to GenericOAuthConfig allowing users to specify key pairs to be added in the discovery requests to OAuthProvider. Required for some OIDC configurations.
* Fix formatting from merge w/ main
---------
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com >
2025-04-13 00:00:06 +03:00
Bereket Engida and GitHub
2249f93464
fix(admin): 'dontRememberMe' cookie handling during impersonation ( #2236 )
2025-04-12 23:59:42 +03:00
Bereket Engida
45f43dd6f4
fix: rethrow error from db hooks if it is APIError instances
2025-04-12 23:45:33 +03:00
cb900f9594
feat(organization): support multiple permissions check ( #2227 )
...
* feat: remove the artificial resource limit so that code can check
Also change `permission` to `permissions` (clearer for end user). `permission` is left for backwards compatibility.
* docs: add examples for multiple perms checking
* refactor: check `permissions` first, then legacy one
* feat: use union types for `permission` & `permissions`
* fix: properly use union types
* fix: remove accidental `@deprecated` comment
* chore: lint
* fix test
* chore: add oneTimeToken plugin to client barrel exports (#2224 )
* docs(expo): add id token usage
* feat(oauth2): override user info on provider sign-in (#2148 )
* feat(oauth2): override user info on provider sign-in
* improve email verification handling
* resolve mrge
* fix(sso): update overrideUserInfo handling to use provider configuration
* fix param
* chore: change plugin interface middleware type (#2195 )
* fix: delete from session table when stopImpersonate called (#2230 )
* chore: fix active organization inferred type
* chore: fix admin test
---------
Co-authored-by: Bereket Engida <bekacru@gmail.com >
Co-authored-by: Wade Fletcher <3798059+wadefletch@users.noreply.github.com >
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com >
Co-authored-by: KinfeMichael Tariku <65047246+Kinfe123@users.noreply.github.com >
2025-04-12 22:00:58 +03:00
Bereket Engida and GitHub
de91c26708
feat(two-factor): refactor two-factor authentication with better error handling, configurable otp limits and verification ( #2234 )
...
* feat(two-factor): refactor two-factor authentication with better error handling, configurable otp limits and verification
* address review comments
2025-04-12 21:41:52 +03:00
a445e897c0
docs: typo in js doc for session database hook ( #2231 )
...
* minor correction in type doc comments
* update
---------
Co-authored-by: Bereket Engida <bekacru@gmail.com >
2025-04-12 21:40:13 +03:00
Bereket Engida
de0aadb37f
docs(security): add IP address header configuration for Better Auth
2025-04-12 21:27:02 +03:00
KinfeMichael Tariku and GitHub
78f18d1f93
fix: filter out fields with returned: false from session cookie cache ( #2232 )
2025-04-12 20:21:00 +03:00
Bereket Engida
478aa06b8a
chore: fix admin test
2025-04-12 13:21:47 +03:00