Commit 1d919cd
Trim Ramp OAuth scopes to exactly the agent-tools set
Drop the four regular-REST-only scopes (agent_account_numbers:read,
applications:read, applications:write, bank_accounts:read) from the authorize
request. Agent keys can't use the standard REST API, so those scopes grant
nothing usable. What remains is exactly the 26 scopes Ramp's agent-tools OpenAPI
declares -- keeping latchkey aligned with the agent-tools-only detent permissions.
Co-authored-by: Sculptor <sculptor@imbue.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 016cb77 commit 1d919cd
1 file changed
Lines changed: 5 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | | - | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | 52 | | |
55 | | - | |
56 | 53 | | |
57 | 54 | | |
58 | 55 | | |
| |||
0 commit comments