Bereket Engida
7ae340e2ed
fix(security): santize query param on error page
2025-02-06 00:35:42 +03:00
Bereket Engida
4c2efc1b66
fix: make session table optional when secondary storage is provided
2025-02-06 00:35:42 +03:00
KinfeMichael Tariku and GitHub
4748bcc498
fix(drizzle): drizzle adapter failing to return data on create and update when using mysql ( #1358 )
...
* fix: drizzle return id after mutation
* typo
* lint
* typo
* unwanted init var
* unwanted log
* flashing db
* logs
* test db url
* chore: comment
* lg
* lint
* pool and lint
* lock file
2025-02-05 23:54:50 +03:00
Bereket Engida and GitHub
05afc42390
feat: add refetch function for all client hooks ( #1206 )
...
* feat: add refetch on client hooks
* docs: add refetch docs
* docs: add refetch docs
2025-02-05 22:09:52 +03:00
Bereket Engida
2cb8005682
fix(anonymous): link account user and session type should be less strict
2025-02-05 14:50:48 +03:00
Bereket Engida
a265c07198
Merge branch 'main' into v1.2
2025-02-05 10:20:03 +03:00
Bereket Engida
11739a9d6c
fix(anonymous): link account user and session type should be less strict
2025-02-05 09:12:07 +03:00
Bereket Engida
547677c843
chore: release v1.1.16-beta.9
2025-02-04 20:48:06 +03:00
Bereket Engida
6e659fd62d
fix(anonymous): add sign-up route to linking matcher
2025-02-04 20:47:52 +03:00
Anton Begehr and GitHub
e83c0ff2b4
fix: google IdToken auth issuer mismatch ( #1351 )
...
"The value of iss in the ID token is equal to accounts.google.com or https://accounts.google.com ."
Source: https://developers.google.com/identity/gsi/web/guides/verify-google-id-token
2025-02-04 15:30:13 +03:00
Bereket Engida
51a1a0ad1f
chore: release v1.1.16-beta.8
2025-02-04 13:47:54 +03:00
Bereket Engida
cb91d158ef
fix(oidc): missing content type header on openId configuration endpoint
2025-02-04 11:08:22 +03:00
Bereket Engida
5f2a70ef04
chore: release v1.1.16-beta.7
2025-02-04 10:51:51 +03:00
Bereket Engida
e80ba1d71a
chore: release v1.1.16-beta.6
2025-02-04 10:51:39 +03:00
Bereket Engida
b115b90d22
chore: release v1.1.16-beta.5
2025-02-04 10:51:33 +03:00
Bereket Engida and GitHub
2eca1daf4f
feat: add cookie helper for middlewares ( #1275 )
2025-02-04 10:14:03 +03:00
Bereket Engida
fb4c1a1923
chore: release v1.1.16-beta.4
2025-02-03 22:49:05 +03:00
Bereket Engida and GitHub
90064ba866
fix: handle converting date on session parsing from cookie cache ( #1342 )
2025-02-03 15:59:07 +03:00
Bereket Engida
a32d41dfc7
chore: release v1.1.16-beta.3
2025-02-02 11:03:44 +03:00
Bereket Engida
9e3f6db31e
chore: release v1.1.16-beta.2
2025-02-02 11:03:40 +03:00
Bereket Engida
5d7f439471
chore: release v1.1.16-beta.1
2025-02-02 11:03:32 +03:00
Bereket Engida
0df2bab277
fix: trigger session update on delete user
2025-02-02 11:03:23 +03:00
Chris Norman and GitHub
9a3e29509e
fix(drizzle): incorrect call to getModelName ( #1329 )
...
`getSchema` already calls `getModelName`. When custom tables are used, this results in a bug where better-auth can't find the table name.
2025-02-02 08:48:30 +03:00
Bereket Engida
2da631585c
fix(passkey): use options base url for rpID
2025-01-30 13:27:48 +03:00
Bereket Engida
d75d8b6baa
chore: lint
2025-01-29 15:05:35 +03:00
Bereket Engida
3bca303fa7
chore: release v1.1.15
2025-01-29 14:30:44 +03:00
Jacobo Tabernero and Bereket Engida
b17c71be39
Fix (bearer): 'set-auth-token' header not exposed with CORS ( #917 ) ( #1169 )
2025-01-29 14:29:59 +03:00
Bereket Engida
66bffe35cf
fix(oauth-proxy): add production url param for oauth proxy
2025-01-29 14:28:20 +03:00
Maxwell and GitHub
5f34c5fc0d
fix: sendInvitationEmail use lowercase email ( #1283 )
...
Closes https://github.com/better-auth/better-auth/issues/1273
2025-01-29 14:16:23 +03:00
Alexander Lyon and GitHub
cff6a62f7b
fix: use redirect URI from options rather than manually overriding ( #1289 )
2025-01-29 14:15:24 +03:00
Bereket Engida
32f4e2c89e
chore: release v1.1.15-beta.7
2025-01-28 20:40:57 +03:00
Bereket Engida
31d0b9f34c
chore(expo): remove expo minfiy
2025-01-28 20:40:50 +03:00
Bereket Engida and GitHub
4ba722967b
feat: disable default scopes and allow scopes to be passed on request ( #1240 )
2025-01-27 14:02:37 +03:00
Bereket Engida and GitHub
1a492e1065
feat: cleanup expired verification data on fetch ( #1110 )
...
cleanup expired (stale) verification data whenever there is verification lookup
2025-01-27 13:30:17 +03:00
Bereket Engida and GitHub
1971fea65e
feat(organization): support multiple roles ( #1037 )
...
add support for multiple roles for members. roles separated by a comma (,) will now be treated as multiple roles.
2025-01-27 13:28:27 +03:00
Bereket Engida
05d586ea58
chore: release v1.1.15-beta.6
2025-01-24 14:46:29 +03:00
Bereket Engida
a8bfe2b2e5
fix: mssql returning should use outputAll
2025-01-24 14:46:15 +03:00
Bereket Engida
184733a08c
chore: release v1.1.15-beta.5
2025-01-23 10:02:47 +03:00
Bereket Engida
ab3255facf
fix: allow custom body properties
2025-01-23 10:01:13 +03:00
Bereket Engida
779f8aa2c9
chore: lint
2025-01-23 09:34:55 +03:00
Andy and GitHub
13d246cafd
fix: make plugin options type exports consistent ( #1270 )
...
* Update index.ts
Export AdminOptions so it can be used as a type externally
* Update index.ts
Shift PhoneNumberOptions to it's own exported type to be consistent with other modules
* Update index.ts
Export EmailOTPOptions
2025-01-23 09:19:27 +03:00
kzlar and GitHub
1280cdf694
fix: expo client with cookie-cache overwrites the original token ( #1269 )
...
In cases where the session_data cookie is expired, but session_token is not, the server returns only a newly signed session_data.
The current implementation causes the existing session_token to be erased, causing a log-out.
This commit fixes it, along with test cases to verify.
2025-01-23 08:48:14 +03:00
Bereket Engida
89b28d0953
chore: release v1.1.15-beta.4
2025-01-22 12:32:52 +03:00
Bereket Engida and GitHub
d7b4df613a
feat: support mssql directly ( #1255 )
2025-01-22 10:49:49 +03:00
Dilbert Ramírez and GitHub
1e6b27ad78
fix: ensure correct status code for unverified email in sign-in ( #1262 )
2025-01-22 07:54:13 +03:00
Bereket Engida
9719fee6bf
chore: release v1.1.15-beta.3
2025-01-21 19:42:50 +03:00
Bereket Engida
fe0661da08
fix: improve additional fields inference ts server performance
2025-01-21 19:42:34 +03:00
Bereket Engida
249ccfc2f8
chore: release v1.1.15-beta.2
2025-01-21 14:32:27 +03:00
Bereket Engida and GitHub
db4b4fce40
feat: support .js config ( #1256 )
2025-01-21 14:19:34 +03:00
Can Stand and GitHub
dfcce1ee2a
fix(passkey): getRpID did not trim path when baseURL has no port ( #1250 )
2025-01-20 18:06:02 +03:00