Skip to content

Fix CSRF token handling in sign-in flow#89

Merged
rg4444 merged 1 commit into
mainfrom
claude/fix-csrf-signin-WQeIJ
Feb 6, 2026
Merged

Fix CSRF token handling in sign-in flow#89
rg4444 merged 1 commit into
mainfrom
claude/fix-csrf-signin-WQeIJ

Conversation

@rg4444
Copy link
Copy Markdown
Contributor

@rg4444 rg4444 commented Feb 6, 2026

The reqUnitCodeReader middleware was blocking unauthenticated access to
the MCP endpoint on public repositories. The permission check rejected
requests before they could reach the MCP handler, even though public
repos should allow MCP access without authentication (similar to other
public endpoints). Removing this middleware allows context.RepoAssignment
to handle repository access control appropriately.

https://claude.ai/code/session_01LTEZTp8j4pDAFtuh19erYi
@rg4444 rg4444 merged commit f0b7d96 into main Feb 6, 2026
13 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants