Commit Graph
2408 Commits
Author SHA1 Message Date
Bereket Engida 193df402fa fix: log error in handleOAuthUserInfo 2025-02-14 11:26:45 +03:00
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
c4f89adbcd docs: add example how to update password on the server (#831)
* add(docs): demo code to set password on the server.

* fix(docs): update password

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-02-14 09:04:02 +03:00
TedandGitHub 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 909260ebf6 docs: remove commented-out code in passkey documentation 2025-02-12 17:38:59 +03:00
Bereket Engida 14407c0e6a docs: remove commented-out code in passkey documentation 2025-02-12 17:38:22 +03:00
Bereket Engida 52fa176d9f chore: release v1.1.18-beta.1 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
Rahul MishraandGitHub 8fcec8ece1 docs: fix routes in hono integration example code (#1417) 2025-02-12 08:39:32 +03:00
Greg JacksonandGitHub f011c741e6 fix(cli): add on delete cascade constraint to drizzle references (#1419) 2025-02-12 08:39:00 +03:00
JoelandGitHub ed8631a217 docs: update introduction (#1416) 2025-02-11 21:16:47 +03:00
Bereket EngidaandGitHub 9445dbdb4c fix(rate-limit): use the passed model name for rate limiter storage (#1412) 2025-02-11 19:40:16 +03:00
Matthias FeistandGitHub e1a9c054eb docs: fix email OTP api (#1413)
Fixed error in docs
2025-02-11 19:14:00 +03:00
Bereket Engida 04b8d2d373 chore: release v1.1.17 v1.1.17 2025-02-11 13:32:49 +03:00
Bereket Engida 964864576d docs: update nuxt integration example to correct auth import path 2025-02-11 13:03:13 +03:00
Ramadan OmarandGitHub 7736be2a9c a11y: show scrollbar (#1390) 2025-02-11 11:02:56 +03:00
Bereket Engida c8bf5047b0 docs: update svelte examples 2025-02-11 08:39:55 +03:00
Bereket Engida 576a7b11fd chore: release v1.1.17-beta.5 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
henry-yu-lbandGitHub 646d20f1a9 docs: fix syntax error (#1399) 2025-02-10 19:26:30 +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
RobiandGitHub 24336fd5a5 docs: add svelte kit example (#1393)
* add example

add an example for loading user session in a .server.ts file without sveltekit being where the instance is hosted ( via the client )

* add event.locals method
2025-02-09 17:22:36 +03:00
Bereket Engida ca0727a224 chore: release v1.1.17-beta.3 v1.1.17-beta.3 2025-02-08 11:18:39 +03:00
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
Bereket Engida 93b26d4777 docs: improve basic usage guide 2025-02-07 17:56:02 +03:00
Philip HuynhandGitHub f4c89b8f5e docs: code highlight fix (#1376)
* fix code highlight

* revert
2025-02-07 10:52:00 +03:00
Baptiste ArnaudandGitHub 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
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 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 55c45c421a chore: release v1.1.17-beta.1 v1.1.17-beta.1 2025-02-06 11:15:49 +03:00
Bereket Engida d7324038b5 chore: release v1.1.17-beta.1 2025-02-06 11:15:26 +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
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 628729ba80 docs: update introduction 2025-02-06 09:43:57 +03:00
Bereket Engida 10d04cb7c1 chore: release v1.1.16 v1.1.16 2025-02-06 00:37:32 +03:00
Bereket Engida e18700e26c chore: release v1.1.16-beta.10 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
KinfeMichael TarikuandGitHub 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 EngidaandGitHub 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