Commit Graph

3201 Commits

Author SHA1 Message Date
Anthony DePasquale
b36a1b83c8 GitHub 2025-04-13 14:11:08 +02:00
Anthony DePasquale
0e12a5cb7a SvelteKit, Next.js, SolidStart 2025-04-13 14:11:08 +02:00
Anthony DePasquale
c8e078a714 SimpleWebAuthn 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
2baaa085a7 "set up" as verb 2025-04-13 14:11:08 +02:00
Anthony DePasquale
25d517e99e TypeScript 2025-04-13 14:11:08 +02:00
gandan
e077be39a2 docs: correct Svelte Kit to SvelteKit (#2246) 2025-04-13 14:59:47 +03:00
KinfeMichael Tariku
01d1be64e7 fix: authentication type missing on refershToken options
fix: added c.authentication to refresh token
2025-04-13 14:58:18 +03:00
Bereket Engida
068f8aa937 chore: update better-call package version to 1.0.8 in pnpm-lock and pnpm-workspace files 2025-04-13 14:53:35 +03:00
Maxwell
c6eb16e626 fix(cli): schema gen with Drizzle for PG to generate text instead of uuid (#2248) 2025-04-13 14:30:16 +03:00
KinfeMichael Tariku
86e811ca23 feat(plugin): error code support for haveibeenpwned plugin
feat(password): error code support for haveibeenpwned
2025-04-13 14:21:00 +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
8c2c2702ef docs(database): update ID generation configuration details 2025-04-13 03:38:41 +03:00
Bereket Engida
acf3f89445 docs(hero): remove outdated changelog link for v1.2 2025-04-13 01:59:32 +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
c9fa76f9d1 docs(expo): remove $fetch api usage 2025-04-13 00:30:11 +03:00
Bereket Engida
2bbe85ae6f docs(next-auth-migration): add reminders for 'createdAt' and 'updatedAt' fields in session and account schemas 2025-04-13 00:16:56 +03:00
Bereket Engida
ee9e969712 docs(next-auth-migration): fix 'accounts' typo 2025-04-13 00:13:59 +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
Ryan Sweeney
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
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
Bereket Engida
ac084b1b73 docs: update next cookies example 2025-04-12 23:21:09 +03:00
ririxi
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
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
Rahul Shendage
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
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
Bereket Engida
989214cff6 chore: fix active organization inferred type 2025-04-12 13:20:59 +03:00
KinfeMichael Tariku
3f4af02165 fix: delete from session table when stopImpersonate called (#2230) 2025-04-12 12:36:18 +03:00
KinfeMichael Tariku
911bb5f68b chore: change plugin interface middleware type (#2195) 2025-04-12 11:37:10 +03:00
Bereket Engida
f9b9672e78 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
2025-04-12 08:25:10 +03:00
Bereket Engida
1c098200c9 docs(expo): add id token usage 2025-04-12 07:54:28 +03:00
Wade Fletcher
61027362b4 chore: add oneTimeToken plugin to client barrel exports (#2224) 2025-04-12 07:51:13 +03:00
Bereket Engida
b885f35091 chore: release v1.2.6-beta.12 2025-04-11 21:02:48 +03:00
Bereket Engida
9d753f2748 chore: add one-time token plugin to build configuration and package.json 2025-04-11 20:57:27 +03:00
Wade Fletcher
b7c724b10d fix: missing export one time token plugin (#2222) 2025-04-11 20:53:44 +03:00
Bereket Engida
7b6a6c8d71 chore: release v1.2.6-beta.11 2025-04-11 19:53:24 +03:00
Bereket Engida
81ef1fbc49 chore: release v1.2.6-beta.11 2025-04-11 19:53:01 +03:00