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
{{ message }}
Repository navigation
All MCP oauth flow return potential CSRF attack #9510
If even one Opencode client is enabled, OAuth authentication is performed on that server. It seems the state value isn't shared between processes, resulting in a rejection.
I killed all Opencode clients and tried logging in again, and it worked without any issues.
Activity
github-actions commentedon Jan 19, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
[-]MCP oauth flow returns potential CSRF attack[/-][+]All MCP oauth flow return potential CSRF attack[/+]danieluhm2004 commentedon Jan 19, 2026
Same here.
I checked this.
If even one Opencode client is enabled, OAuth authentication is performed on that server. It seems the state value isn't shared between processes, resulting in a rejection.
I killed all Opencode clients and tried logging in again, and it worked without any issues.
raserma commentedon Jan 20, 2026
Thank you, that solved the issue for me 🎉
github-actions commentedon Mar 26, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.