Commit Graph

1693 Commits

Author SHA1 Message Date
KinfeMichael Tariku
261fe93173 fix(api): config in getSessionFromCtx overrides query param (#1496) 2025-02-19 13:35:50 +03:00
Alexandre Stahmer
add3820c0d fix(open-api): add missing id field in generated OpenAPI for each schema (Models) (#1491) 2025-02-19 13:30:23 +03:00
Bereket Engida
5d945e00d9 chore: release v1.1.19-beta.2 2025-02-15 11:58:55 +03:00
Bereket Engida
8ff196ec0d feat(one-tap): improve Google One Tap integration with JWT verification and improved prompt handling (#1452)
* fix(auth): use options.baseURL instead of ctx.baseURL on trusted origins

* feat(one-tap):  improve Google One Tap integration with JWT verification and improved prompt handling

* feat(one-tap): add One Tap component for user authentication and fix prompt options
2025-02-15 11:56:06 +03:00
Bereket Engida
5dfb788838 fix(auth): use options.baseURL instead of ctx.baseURL on trusted origins 2025-02-15 09:47:14 +03:00
Stephen Lacy
2ecd3f4221 fix(oidc-plugin): user info endpoint casing to match OIDC spec (#1446) 2025-02-15 09:15:07 +03:00
Bereket Engida
4e08cc2dcf chore: release v1.1.19-beta.1 2025-02-14 21:46:23 +03:00
Bereket Engida
5999071ede feat(mongodb-adapter): support custom ID generation in MongoDB adapter (#1444)
* feat(mongodb-adapter): support custom ID generation in MongoDB adapter

* chore: remove log
2025-02-14 21:45:54 +03:00
Phanuwat-Pao
da2fd0b74c fix(open-api): convert path parameters to OpenAPI format (#1437) 2025-02-14 21:42:47 +03:00
Bereket Engida
e531a7c33f chore: release v1.1.18 2025-02-14 18:16:13 +03:00
Bereket Engida
b1e27fed8f feat(username): add default validation and options for validating username (#1345)
* feat: add default validation and options for validating username

* chore: release v1.1.16-beta.5

* fix: include update-user

* chore: release v1.1.16-beta.6
2025-02-14 18:15:19 +03:00
Bereket Engida
56f47d85dd chore: release v1.1.18-beta.3 2025-02-14 14:05:13 +03:00
Bereket Engida
b26f8334b3 feat(organization): leave organization (#1239) 2025-02-14 13:12:15 +03:00
Bereket Engida
a609acb799 feat(generic-oauth): oAuth2 link account (#1208) 2025-02-14 12:38:40 +03:00
Bereket Engida
f7a49404ab feat(admin): set user password (#1203) 2025-02-14 12:28:26 +03:00
Bereket Engida
2116ace963 chore: release v1.1.18-beta.2 2025-02-14 11:40:40 +03:00
Bereket Engida
00a07824a2 fix: database hooks should use Partial types to avoid overwriting previous hooks returns 2025-02-14 11:34:42 +03:00
Bereket Engida
07d4805611 fix: use Partial for body and query in InferRoute type 2025-02-14 11:26:45 +03:00
Bereket Engida
193df402fa fix: log error in handleOAuthUserInfo 2025-02-14 11:26:45 +03:00
Maxwell
8c31eaea18 feat: support function for trusted origins configuration (#1151)
* feat: support function for trusted origins configuration

- Updated the trusted origins option to accept either an array or a function returning an array of origins.
- Modified middleware and utility functions to handle function-based trusted origins.
- Enhanced documentation and types to reflect the new trusted origin configuration capabilities.
- Integrated changes in the Expo plugin for consistent trusted origin handling across environments.

* pass request object and support promise returns

* fix types

* chore: lint

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-02-14 11:19:44 +03:00
Ted
b3371272fc feat: custom generate token function for magic links (#1362) 2025-02-14 08:50:36 +03:00
Bereket Engida
0ea9c29cc8 fix(expo): headers should be retrieved from APIError in OAuth hook 2025-02-14 08:18:07 +03:00
Bereket Engida
52fa176d9f chore: release v1.1.18-beta.1 2025-02-12 13:33:45 +03:00
Bereket Engida
ec241e49fb fix: remove zod type export from clients 2025-02-12 08:55:19 +03:00
Bereket Engida
1e318b87cc fix(phone-number): ensure callbackOnVerification is called after user verification 2025-02-12 08:51:47 +03:00
Greg Jackson
f011c741e6 fix(cli): add on delete cascade constraint to drizzle references (#1419) 2025-02-12 08:39:00 +03:00
Bereket Engida
9445dbdb4c fix(rate-limit): use the passed model name for rate limiter storage (#1412) 2025-02-11 19:40:16 +03:00
Bereket Engida
04b8d2d373 chore: release v1.1.17 2025-02-11 13:32:49 +03:00
Bereket Engida
576a7b11fd chore: release v1.1.17-beta.5 2025-02-10 22:46:33 +03:00
Bereket Engida
3d1b3869d6 chore: release v1.1.17-beta.4 2025-02-10 22:46:18 +03:00
Bereket Engida
c253b446cb fix(auth): update cookie handling in anonymous and multi-session plugins 2025-02-10 19:04:15 +03:00
Bereket Engida
762fef82eb chore: initalize response headers 2025-02-10 18:20:24 +03:00
Bereket Engida
4bf4fb0522 chore: reset headers on new context 2025-02-10 18:07:46 +03:00
Bereket Engida
ca0727a224 chore: release v1.1.17-beta.3 2025-02-08 11:18:39 +03:00
KinfeMichael Tariku
0794de2c71 fix(drizzle): drizzle with mysql update breaks on anything other than update by id(#1377)
---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-02-08 11:11:37 +03:00
Bereket Engida
90a487a6b5 fix(username): return email not verified instead of invalid email and password 2025-02-08 10:39:53 +03:00
Bereket Engida
aaa5c60a03 fix: allow partial returns from update hooks 2025-02-08 02:02:19 +03:00
Baptiste Arnaud
b26a248970 fix: socialProvider return null if undefined (#1371) 2025-02-06 21:00:07 +03:00
Bereket Engida
9243529cc0 chore:lint 2025-02-06 15:10:29 +03:00
Alfan Jauhari
81936d756a fix(cli): wrong kysely schema filename (#1366)
Co-authored-by: Alfan Jauhari <alfan@zero-one-group.com>
2025-02-06 15:09:51 +03:00
Bereket Engida
15315b3be1 chore: add session change check on cookie cache test 2025-02-06 12:27:50 +03:00
Bereket Engida
2c40835531 chore: release v1.1.17-beta.2 2025-02-06 11:52:00 +03:00
Bereket Engida
2628b2f17c fix: update session cache on email verification 2025-02-06 11:51:51 +03:00
Bereket Engida
d0f891d0a8 chore: release v1.1.17-beta.1 2025-02-06 11:15:20 +03:00
Bereket Engida
745f92932a fix: update user should use id as a reference 2025-02-06 11:15:20 +03:00
KinfeMichael Tariku
1ceed9c336 chore(cli): pkg info and utils on CLI tools (#1364)
---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-02-06 11:05:08 +03:00
Bereket Engida
10d04cb7c1 chore: release v1.1.16 2025-02-06 00:37:32 +03:00
Bereket Engida
e18700e26c chore: release v1.1.16-beta.10 2025-02-06 00:35:58 +03:00
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