docs(openrouter-oauth): sync with openrouter-web changes - #155
docs(openrouter-oauth): sync with openrouter-web changes#155devin-ai-integration[bot] wants to merge 2 commits into
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Original prompt from Automation
|
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Summary
POST /api/v1/auth/keysnow enforces a 10-minute TTL on browser authorization codes and returns403 Authorization code expiredpast it. The skill taught the exchange with only the success response, so an agent following it had no way to interpret the new failure.Source: OpenRouterTeam/openrouter-web#32345 (
exchange-auth-code.tsrejects codes older thanAUTH_CODE_TTL_MS; the same PR documents the window in the public OAuth guide).Adds two sentences after the exchange example: the expiry window, and restart-the-flow as the recovery for the 403.
Link to Devin session: https://openrouter.devinenterprise.com/sessions/d56b58eacc824c57869d97b70071cce9