2d5fdf4768
fix(cookies): use the right encoding for parsing session data for expo apps ( #3909 )
...
* fix(cookies): use base64url for session_data and Set-Cookie parsing
* chore: lint
---------
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com >
Co-authored-by: Bereket Engida <Bekacru@gmail.com >
2025-08-12 18:19:13 -07:00
KinfeMichael Tariku and GitHub
67f84d5d94
fix(expo): improve cookie expiration handling ( #3705 )
...
* fix: cookie expiration in expo
* changesets
2025-07-31 16:32:54 -07:00
KinfeMichael Tariku and GitHub
ba5f13c58a
fix(expo): expo plugin should import types from the types path ( #2526 )
...
* fix: plugin import type
* lint
* expo type compat
* expo type compat
* type import
* plugin import
* type compat
2025-07-07 12:54:26 -07:00
Bereket Engida
9801d1be53
fix(expo): remove duplicated trusted origins
2025-06-20 13:43:38 -07:00
90db4c3896
fix: oauth proxy between http and https ( #2895 )
...
* Update index.ts
* support prefix
* chore: revert test
* skip oauth proxy header
* add test
---------
Co-authored-by: Bereket Engida <bekacru@gmail.com >
2025-06-09 23:30:32 -07:00
Anthony DePasquale
952a6613ad
API
2025-04-13 14:11:08 +02:00
Bereket Engida and GitHub
54bdb695b5
fix(expo): better fetch type mismatch causing type error on expo client plugin ( #1825 )
2025-03-15 09:54:28 +03:00
Bereket Engida
e47d741c0c
chore(expo): expose cookie parsing utility functions
2025-03-05 10:42:36 +03:00
Bereket Engida
889ae9b033
fix(expo): safely access headers
2025-03-02 18:52:39 +03:00
Elliot Sharpe and GitHub
57c7dd33a5
fix(expo): fix get headers key ( #1634 )
2025-03-02 18:51:31 +03:00
Bereket Engida
bb387fed5c
chore: fix expo types
2025-02-27 18:52:16 +03:00
Bereket Engida
2c81e5bf8f
Merge branch 'main' into v1.2
2025-02-14 15:17:41 +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
Bereket Engida
0ea9c29cc8
fix(expo): headers should be retrieved from APIError in OAuth hook
2025-02-14 08:18:07 +03:00
Bereket Engida
29f2efb1aa
fix: update @better-fetch/fetch to version 1.1.14-beta.2 and clean up client options
2025-02-12 12:51:23 +03:00
Bereket Engida and GitHub
46dfc078c0
feat: move to better call version 1 ( #1402 )
2025-02-11 16:02:57 +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 and GitHub
18e9e2c3c7
fix(expo): make expo origin override optional ( #1236 )
2025-01-17 10:46:34 +03:00
kzlar and GitHub
52c0600b55
fix(expo): support linking for new user and error callbacks ( #1181 )
2025-01-11 16:52:58 +03:00
Bereket Engida
16614578c0
chore: cleanup
2025-01-04 17:28:48 +03:00
Bereket Engida
7711c2bdb8
fix(expo): include oauth2 callback on expo plugin hooks
2025-01-04 10:51:34 +03:00
Bereket Engida
066d2cae33
fix(expo): any session type
2025-01-03 22:42:51 +03:00
Bereket Engida and GitHub
3455132c99
fix: add version for open api schema ( #1108 )
2025-01-03 09:03:48 +03:00
Bereket Engida and GitHub
ef2ff4ce56
fix(expo): local session cache should be scopped ( #1020 )
2024-12-26 18:44:16 +03:00
Stephen Zhou and GitHub
d8a264871f
refactor(expo): make storage required ( #931 )
2024-12-18 13:03:49 +03:00
Bereket Engida
de1671ea1d
fix(expo): client shouldn't open a browser on idtoken sign in
2024-12-07 09:03:51 +03:00
Lukas Scholten and GitHub
bb6ec7e54c
fix: get scheme from expo config ( #704 )
2024-12-01 10:00:37 +03:00
Bereket Engida
412e3490e5
fix: expo plugin should use the new hook interface
2024-11-21 18:39:02 +03:00
Bereket Engida
4e1ed7c65b
feat: expo getCookie helper
2024-11-15 14:44:48 +03:00
Bereket Engida and GitHub
6c4c482dbf
feat: nextjs plugin ( #493 )
2024-11-11 20:54:21 +03:00
Bereket Engida
0a51955323
fix: handle web expections on expo
2024-11-09 09:28:48 +03:00
Bereket Engida and GitHub
9cddaad623
feat: id token auth ( #463 )
2024-11-09 00:40:14 +03:00
Bereket Engida
f034e1dd71
chore: remove console log
2024-11-06 10:08:49 +03:00
Bereket Engida
6dcdaa7913
chore: case fetch options type
2024-11-06 09:20:59 +03:00
Bereket Engida
713c395bf2
fix(expo): opts should be optional
2024-11-06 00:38:30 +03:00
Bereket Engida
49d5a6a842
fix: expo origin check failing
2024-11-03 00:18:07 +03:00
Bereket Engida and GitHub
cce28070ee
feat: expo plugin ( #375 )
2024-11-01 09:24:14 +03:00