Skip to content

Validate-the-client skill and structured protocol errors - #10

Merged
sukujgrg merged 1 commit into
masterfrom
v2.1.0-validate-skill
Aug 16, 2026
Merged

Validate-the-client skill and structured protocol errors#10
sukujgrg merged 1 commit into
masterfrom
v2.1.0-validate-skill

Conversation

@sukujgrg

Copy link
Copy Markdown
Owner

Summary

  • Nested request.response now includes HTTP status plus the body; error events are objects (error, optional status, error_description).
  • Agent skill is a validate-this-client workflow: expected denials can pass, user-supplied issuer/client/redirect is the default path, --redirect-uri aliases --redirect-url.
  • Pins installers and the skill to v2.1.0 (release notes in .github/release-notes/v2.1.0.md). Cut that tag from master after merge.

Test plan

  • GOEXPERIMENT=jsonv2 go test ./cmd ./internal/oauth2
  • oauth2c --help shows --redirect-uri and the updated --prompt / --audience / --callback-addr text
  • A failed token request logs request.response.status and {"error":{"status":...,"error":"..."}}
  • After merge: gh workflow run release.yaml -f version=v2.1.0

Made with Cursor

…dation.

error events are objects, request.response includes status, and the skill
treats expected denials as a pass. Pin install and skill to v2.1.0.

Co-authored-by: Cursor <cursoragent@cursor.com>
@sukujgrg
sukujgrg merged commit 99d4511 into master Aug 16, 2026
3 checks passed
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