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
Reuse pending capability auth flows and complete from pasted callback
Avoid regenerating OAuth state when a matching pending flow exists, persist auth begin response fields on flow records, and update Google skill instructions to immediately complete auth when callback URL/code is already present.
Also document pending-flow reuse in capabilities spec and add coverage for auth_begin reuse semantics.
Co-Authored-By: GPT-5 Codex <codex@openai.com>
Copy file name to clipboardExpand all lines: src/ash/integrations/skills/capabilities/google/SKILL.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,14 @@ Total: 2 capability(ies)
61
61
62
62
Run this step for each capability where `Authenticated: no`. If the user's request is setup-only (e.g. "set up my email"), stop after authentication is complete — do not invoke any operations.
63
63
64
+
Before prompting the user again, check whether the current task already contains a pasted Google callback URL (`http://localhost/?...code=...`) or a raw auth code. If yes:
65
+
66
+
1. Run `ash-sb capability auth begin -c <capability>` first.
0 commit comments