fix(oauth): strengthen PKCE validation and refresh token replay protection #142
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Tighten PKCE handling, redirect URI normalization, and refresh-token replay safety. Also binds token exchanges to the original client request.
Upstream Reference
Severity: High
OAuth security hardening.
Warning
Upstream issue #37807 reports that the refresh token binding (#37740) breaks Drone CI cron jobs. Test OAuth clients before deploying.
Action
Cherry-pick from upstream
release/v1.26. Test any OAuth integrations thoroughly.Authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com