Commit 3d30ef9
Validate token client when inheriting stored oauth_app binding
Previously, re-running add-account on a named-app account without
--oauth-app skipped client validation because the binding was
inherited, not explicit. A stale token from a different client
would be silently accepted and fail on next refresh.
Now checks whenever resolvedApp is non-empty, regardless of source.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 306533d commit 3d30ef9
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
| |||
0 commit comments