Commit graph

41 commits

Author SHA1 Message Date
Jake Barnby
2cfb5ecfd9 Reapply "Merge pull request #11130 from appwrite/feat-auth-instance"
This reverts commit 38687bc24e.
2026-01-15 04:08:00 +13:00
Jake Barnby
38687bc24e Revert "Merge pull request #11130 from appwrite/feat-auth-instance"
This reverts commit c12cad80bb, reversing
changes made to 2a17429226.

# Conflicts:
#	composer.lock
2026-01-15 03:48:42 +13:00
Jake Barnby
5c915ef92f Reapply "Merge pull request #11099 from appwrite/feat-auth-instance"
This reverts commit 321fc8ee70.
2026-01-14 19:07:49 +13:00
Jake Barnby
321fc8ee70 Revert "Merge pull request #11099 from appwrite/feat-auth-instance"
This reverts commit a4734a5de7, reversing
changes made to 15922fb88c.

# Conflicts:
#	composer.lock
2026-01-14 02:37:17 +13:00
Jake Barnby
7573ee75a2 Use authorization instance 2026-01-07 20:04:28 +13:00
Jake Barnby
dc85d44647
Revert "Refactor auth single instance" 2025-12-20 02:54:50 +13:00
Shimon Newman
95e29d1046
Merge branch '1.8.x' into refactor-auth-single-instance 2025-11-28 16:10:26 +02:00
Hemachandar
c09f7d5cf9 Fix file token expiry 2025-11-27 19:40:09 +05:30
shimon
4ad249f918 Revert "Revert "Merge pull request #10682 from appwrite/refactor-auth-single-instance""
This reverts commit 8765d5650a.
2025-11-26 12:05:12 +02:00
Jake Barnby
8765d5650a Revert "Merge pull request #10682 from appwrite/refactor-auth-single-instance"
This reverts commit 919b01a1b1, reversing
changes made to deb5039352.
2025-11-19 16:21:06 +13:00
shimon
5722241ff8 Merge branch '1.8.x' of github.com:appwrite/appwrite into refactor-auth-single-instance
# Conflicts:
#	composer.lock
2025-11-13 11:10:40 +02:00
Hemachandar
bc19e66775 fix tests 2025-11-12 20:27:42 +05:30
Hemachandar
10a9845898 fix: Throw error when file token expiry is in the past 2025-11-03 16:55:13 +05:30
shimon
462634d311 Update dependencies in composer.json and composer.lock; upgrade utopia-php/detector to version 0.2.*, and utopia-php/migration to version 1.3.3. Modify exception messages in storage API for better clarity on authorization failures. Adjust test assertions to reflect updated error messages. 2025-10-28 09:09:54 +02:00
Evan
0371e488e9 test fix/lint 2025-08-21 11:02:53 -07:00
Cursor Agent
e6e7a728a0 Enhance token JWT validation in TokensConsoleClientTest with comprehensive checks
Co-authored-by: evanleair <evanleair@gmail.com>
2025-08-21 16:10:06 +00:00
Evan
2beb6ba0cf
Update tests/e2e/Services/Tokens/TokensConsoleClientTest.php
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2025-08-20 12:51:25 -07:00
Evan
3ed5699876 Better jwt handling and tests 2025-08-18 10:57:15 -07:00
Evan
f5f6ec71de Address stnguyen90 feedback: simplify JWT logic and fix test expectations
- Remove excessive logic and 1-minute expiration hack as requested
- Simplify token expiry handling to directly use existing  value
- Remove problematic test that creates tokens with past expiry dates
- Update existing test to properly verify JWT expiration behavior
- Use proper base64url decoding for JWT payload testing
2025-08-18 09:39:19 -07:00
Evan
3a9353a78b linter 2025-08-15 17:35:49 -07:00
Evan
eec62752ed fix - incorrect file token expiry 2025-08-15 16:27:48 -07:00
Darshan
7ca951ed81 remove: {} 2025-07-08 15:43:51 +05:30
Darshan
020814e672 update: inline guest headers. 2025-07-08 15:43:28 +05:30
Darshan
7ea896301f update: test to include preview, view and download with file-security. 2025-07-08 15:42:38 +05:30
Darshan
97d5f0f030 add: e2e. 2025-07-08 15:34:52 +05:30
Darshan
bebd103611 update: token scopes tests for console client. 2025-05-15 19:22:53 +05:30
Darshan
1ab724ff04 update: token scopes tests. 2025-05-15 19:13:51 +05:30
Darshan
4e9f137e55 remove: jwt logic. serve the jwt directly from the model itself. 2025-05-13 15:41:26 +05:30
Darshan
64a24b2211 update: tests for getFileDownload with resourceToken and misc changes. 2025-04-30 10:10:35 +05:30
Darshan
1170fd0ee9 update: tests for getFileDownload with resourceToken. 2025-04-30 09:52:27 +05:30
Darshan
eee9adc325 update: use constant. 2025-04-29 19:52:40 +05:30
Darshan
9ae22ae3fe add: resourceId check. 2025-04-29 19:52:14 +05:30
Darshan
5208e69543 add: infinite expiry test. 2025-04-29 19:46:35 +05:30
Darshan
645b04cf32 fix: tests. 2025-04-29 19:37:39 +05:30
Darshan
6c86faa5d4 add: file tokens tests. 2025-04-29 18:25:39 +05:30
Chirag Aggarwal
ba0a6f0097 chore: added requires scopes, fix call method 2025-02-05 14:14:03 +00:00
Chirag Aggarwal
ca7cf765b2 chore: refactor tokens 2025-02-05 09:22:35 +00:00
Damodar Lohani
e21467d9f0 format 2024-12-05 05:40:52 +00:00
Damodar Lohani
285544d2d6 delete token test 2024-12-04 09:39:30 +00:00
Damodar Lohani
d32dc0a4d9 tokens test and scopes 2024-11-18 08:52:16 +00:00
Damodar Lohani
0d1fec47c6 tokens test 2024-11-18 08:00:14 +00:00