You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/instructions/oauth-testing.instructions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,5 +8,5 @@ applyTo: "test/**,src/**"
8
8
- Keep `pnpm test` and GitHub Actions deterministic: no live provider calls, browser automation, or OAuth secrets; model provider behavior with mocks.
9
9
- Exercise callback behavior through `createCallbackEndpoint(...).handler(req)`; avoid replacing callback assertions with direct mock Payload `create` or `update` calls.
10
10
- Preserve provider matrix coverage for Google, Zitadel, Apple, and Microsoft Entra ID; share contract helpers but keep provider quirks in fixtures.
11
-
- Use mocked external-provider integration for authorize + callback happy paths, create/update branches, provider response failures, token request bodies, and PKCE authorize behavior; `pnpm test` runs this layer with the rest of the suite.
11
+
- Use mocked external-provider integration for authorize + callback happy paths, create/update branches, provider response failures, token request bodies, PKCE authorize behavior, and PKCE callback `code_verifier` exchange; `pnpm test` runs this layer with the rest of the suite.
12
12
- Keep roundtrip tests for callback-issued JWTs authenticating through the auth strategy, and idempotency tests for plugin collection wiring.
0 commit comments