Trek_CN/server/tests/integration
jubnl 5b44fe68b1
fix(mcp): narrow OAuth scope to allowed intersection instead of rejecting
When a client requests scopes it is not permitted for, silently drop
them rather than failing the entire authorization flow. The token is
issued with only the intersection of requested and allowed scopes.

Also fix /authorize/validate to always return HTTP 200 so the consent
page can surface the actual error_description instead of a generic
axios failure message.
2026-04-09 23:48:05 +02:00
..
admin.test.ts test: expand test suite to 87.3% backend coverage 2026-04-06 20:08:30 +02:00
assignments.test.ts test: apply suite review improvements (01–11) 2026-04-06 20:08:13 +02:00
atlas.test.ts test: expand test suite to 87.3% backend coverage 2026-04-06 20:08:30 +02:00
auth.test.ts test: expand test suite to 87.3% backend coverage 2026-04-06 20:08:30 +02:00
backup.test.ts test: expand test suite to 87.3% backend coverage 2026-04-06 20:08:30 +02:00
budget.test.ts test(mcp): add tests for OAuth 2.1, addon gating, and budget reorder 2026-04-09 23:12:59 +02:00
categories.test.ts test: expand test suite to 87.3% backend coverage 2026-04-06 20:08:30 +02:00
collab.test.ts test: expand test suite to 87.3% backend coverage 2026-04-06 20:08:30 +02:00
dayNotes.test.ts Add comprehensive backend test suite (#339) 2026-04-03 13:17:53 +02:00
days.test.ts test: expand test suite to 87.3% backend coverage 2026-04-06 20:08:30 +02:00
files.test.ts test: expand test suite to 87.3% backend coverage 2026-04-06 20:08:30 +02:00
immich.test.ts refactor(server): replace node-fetch with native fetch + undici, fix photo integrations 2026-04-05 21:12:51 +02:00
maps.test.ts test: expand test suite to 87.3% backend coverage 2026-04-06 20:08:30 +02:00
mcp.test.ts refactor(mcp): replace direct DB access with service layer calls 2026-04-04 18:12:53 +02:00
memories-immich.test.ts test: expand test suite to 87.3% backend coverage 2026-04-06 20:08:30 +02:00
memories-synology.test.ts test: expand test suite to 87.3% backend coverage 2026-04-06 20:08:30 +02:00
memories-unified.test.ts refactor(server): replace node-fetch with native fetch + undici, fix photo integrations 2026-04-05 21:12:51 +02:00
misc.test.ts test: apply suite review improvements (01–11) 2026-04-06 20:08:13 +02:00
notifications.test.ts test: expand test suite to 87.3% backend coverage 2026-04-06 20:08:30 +02:00
oauth.test.ts fix(mcp): narrow OAuth scope to allowed intersection instead of rejecting 2026-04-09 23:48:05 +02:00
oidc.test.ts test: expand test suite to 87.3% backend coverage 2026-04-06 20:08:30 +02:00
packing.test.ts test: apply suite review improvements (01–11) 2026-04-06 20:08:13 +02:00
places.test.ts test: expand test suite to 87.3% backend coverage 2026-04-06 20:08:30 +02:00
profile.test.ts test: apply suite review improvements (01–11) 2026-04-06 20:08:13 +02:00
reservations.test.ts test: expand test suite to 87.3% backend coverage 2026-04-06 20:08:30 +02:00
security.test.ts test: apply suite review improvements (01–11) 2026-04-06 20:08:13 +02:00
settings.test.ts test: expand test suite to 87.3% backend coverage 2026-04-06 20:08:30 +02:00
share.test.ts test: expand test suite to 87.3% backend coverage 2026-04-06 20:08:30 +02:00
tags.test.ts test: expand test suite to 87.3% backend coverage 2026-04-06 20:08:30 +02:00
todo.test.ts test: expand test suite to 87.3% backend coverage 2026-04-06 20:08:30 +02:00
trips.test.ts test: apply suite review improvements (01–11) 2026-04-06 20:08:13 +02:00
vacay.test.ts test: expand test suite to 87.3% backend coverage 2026-04-06 20:08:30 +02:00
weather.test.ts test: expand test suite to 87.3% backend coverage 2026-04-06 20:08:30 +02:00