Skip to content

Adding integration oauth tests#425

Open
cutecatfann wants to merge 3 commits intomainfrom
oauth_test
Open

Adding integration oauth tests#425
cutecatfann wants to merge 3 commits intomainfrom
oauth_test

Conversation

@cutecatfann
Copy link
Contributor

What I did

  • Add 8 Go integration tests for the CE OAuth flow covering the full happy path (PKCE, state validation, token exchange, token store, revoke), error paths (token exchange failure, callback error/timeout), and single-use state enforcement

Testing

  • cd mcp-gateway && go test -count=1 -v ./pkg/oauth/ -run 'TestIntegration_' -- 8/8 pass

@cutecatfann cutecatfann requested a review from a team as a code owner February 25, 2026 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant