diff --git a/.planning/phases/32.2-mcp-oauth-with-administrator-subjects/32.2-UAT.md b/.planning/phases/32.2-mcp-oauth-with-administrator-subjects/32.2-UAT.md new file mode 100644 index 00000000..bdf99f5e --- /dev/null +++ b/.planning/phases/32.2-mcp-oauth-with-administrator-subjects/32.2-UAT.md @@ -0,0 +1,44 @@ +--- +status: testing +phase: 32.2-mcp-oauth-with-administrator-subjects +source: [32.2-VERIFICATION.md] +started: 2026-11-21T01:52:38.959Z +updated: 2026-11-21T01:52:38.959Z +--- + +## Current Test + +number: 1 +name: Live connector check (cross-site SameSite=Strict admin cookie, D-03 / RESEARCH A2). After the production deploy, add https://grzybyfunkcjonalne.pl/mcp as a connector in Claude while signed in to /gfadmin, start the OAuth sign-in, then call a Journal tool and revoke the connection on My account. Procedure: ../sm-grzybyfunkcjonalne-app/DEPLOY.md, section 'Live connector check (deferred)'; 32.2-VALIDATION.md, Manual-Only Verifications row 1. +expected: | + After the cross-site redirect from Claude, the /gfadmin/connect consent card shows the signed-in administrator, not the login screen. If it shows login, signing in must return to the same consent request. +awaiting: user response + +## Tests + +### 1. Live connector check (cross-site SameSite=Strict admin cookie, D-03 / RESEARCH A2). After the production deploy, add https://grzybyfunkcjonalne.pl/mcp as a connector in Claude while signed in to /gfadmin, start the OAuth sign-in, then call a Journal tool and revoke the connection on My account. Procedure: ../sm-grzybyfunkcjonalne-app/DEPLOY.md, section 'Live connector check (deferred)'; 32.2-VALIDATION.md, Manual-Only Verifications row 1. +expected: After the cross-site redirect from Claude, the /gfadmin/connect consent card shows the signed-in administrator, not the login screen. If it shows login, signing in must return to the same consent request. +result: [pending] + +### 2. Live connector scope behaviour (32.2-VALIDATION.md, Manual-Only Verifications row 2). In the same live run, note which scope value Claude sends to /oauth/mcp/authorize and whether the consent card offers the expected scopes. +expected: The consent card lists grantable catalog scopes (journal, journal:read and so on). If Claude asks only for offline_access, the card currently shows 'no grantable scope' with Deny only (review FW-WR-01, deferred-items.md); in that case the WR-01 fix is needed before the connector is usable. +result: [pending] + +### 3. Production resource override (review PA-WR-09). During the deploy, check that SUMMER_GOLEM15__OAUTHSERVER__MCP__RESOURCE is set in go/.env and that GET /.well-known/oauth-protected-resource/mcp .resource equals the authorization server's resource (https://grzybyfunkcjonalne.pl/mcp). +expected: Both resources are the public https URL; the committed loopback default (http://127.0.0.1:8096/mcp) is not served. +result: [pending] + +### 4. SC-5 release go-ahead. 32.2-05-release-decision.txt records hold (framework-base v0.6.6, plugin-base v0.1.7). Decide whether to run plan 05 task 5's tag-and-publish branch: framework next free v0.6 patch (v0.6.7 if still free, must contain b1b96d85), sm-oauthserver-plugin v0.1.8 requiring that tag, push the plugin, then the grzyby pointer bump as its own commit (gitlink, go.mod require, regenerated plugins.gen.go), then the two changelog posts the same day. +expected: Tags v0.6.x and v0.1.8 on origin, plugin go.mod on the framework tag, app gitlink and go.mod on v0.1.8, two changelog URLs recorded in 32.2-05-changelog-published.txt; task 5's automated verify passes on the tag-and-publish branch. +result: [pending] + +## Summary + +total: 4 +passed: 0 +issues: 0 +pending: 4 +skipped: 0 +blocked: 0 + +## Gaps