docs: update auth signed retry examples#477
Conversation
Show Request:<uuid> request IDs and canonical compact JSON payloadToSign examples for credential add/revoke, wallet export, and session revocation. Also fixes the export curl continuation while updating that snippet.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Greptile SummaryThis PR updates the signed-retry pattern examples across three documentation snippets to align with the real Turnkey payload format and current
Confidence Score: 5/5Safe to merge — all changes are documentation-only updates to example payloads and header values with no runtime code affected. The changes correctly and consistently update three documentation snippets: the broken curl continuation in the export flow is fixed, the No files require special attention.
|
| Filename | Overview |
|---|---|
| mintlify/snippets/global-accounts/authentication.mdx | Updated requestId format and payloadToSign examples for the EMAIL_OTP and PASSKEY signed-retry flows; all curl headers and JSON payloads are internally consistent. |
| mintlify/snippets/global-accounts/exporting-wallet.mdx | Fixed the missing \ continuation after -u on the first export curl call, and updated payloadToSign/requestId to match the new canonical format. |
| mintlify/snippets/global-accounts/managing-sessions.mdx | Updated session-revocation example with ACTIVITY_TYPE_DELETE_API_KEYS payload and Request:<uuid> format; DELETE curl remains correctly without a body continuation. |
Sequence Diagram
sequenceDiagram
participant C as Client
participant IB as Integrator Backend
participant G as Grid
IB->>G: POST/DELETE (initial call)
G-->>IB: "202 { payloadToSign (Turnkey JSON), requestId: "Request:<uuid>", expiresAt }"
IB-->>C: "{ payloadToSign, requestId }"
C->>C: sign(payloadToSign, sessionPrivateKey) → signature
C->>IB: "{ signature }"
IB->>G: "Repeat same request + Grid-Wallet-Signature + Request-Id: Request:<uuid>"
G-->>IB: 2xx (success) or encrypted credentials
Reviews (1): Last reviewed commit: "docs: update auth signed retry examples" | Re-trigger Greptile

Summary
Request:<uuid>request IDs.payloadToSignexamples with canonical compact JSON Turnkey activity payloads.Test Plan
git diff --check main...HEADrgscan for stale base64 payloads, bare UUIDRequest-Idheaders, and old signed-retry payload shapes.