executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
ramp-install-authSelect and configure the correct Ramp OAuth grant, scopes, environments, and secret lifecycle. Use when bootstrapping an internal server integration or a third-party multi-tenant application. Trigger with "set up Ramp OAuth" or "Ramp client credentials".
Independent GitHub snapshot · Automated classification · Original documentation governs
Choose the grant from the trust model. Use Client Credentials for an internal server-to-server integration; use Authorization Code with state and refresh handling for a third-party or multi-tenant application.
references/official-docs.md and re-check endpoint schemas, scopes, limits, and support status before a live operation./developer/v1/token, typically using HTTP Basic authentication for the client.Identify internal versus third-party architecture, target environments, tenants, redirect origins, required operations, data classes, and accountable application owner.
Register separate sandbox and production applications; enable only the selected grant and minimum endpoint scopes.
Store client secrets and refresh tokens in an approved secret manager, record rotation/revocation ownership, and prohibit browser or repository exposure.
For Authorization Code, generate and verify cryptographically random state and exact HTTPS redirect URIs; for Client Credentials, keep token exchange server-side.
Acquire a sandbox token, verify one minimum-scope read plus one denied operation, then document the independently approved production promotion.
The business owner approves the application; security approves grant, redirects, scopes, and secret lifecycle; each tenant's authorized user grants third-party access.
An application inventory, architecture/grant decision, scope matrix, redirect and environment map, secret references, token lifecycle, positive/negative proof, and revocation procedure.
| Condition | Response |
|---|---|
invalid_client | Verify environment-specific client credentials and Basic authentication without exposing values. |
invalid_scope | Align configured and requested scopes, obtain a new token, and repeat negative testing. |
Business not authorized | Have an appropriately privileged business user authorize the app; do not bypass user authority. |
Configure an internal accounting worker with Client Credentials and only transaction/accounting scopes in sandbox.
Configure a multi-tenant partner app with Authorization Code, exact redirects, verified state, encrypted refresh tokens, and tenant revocation.