[grid] fix Global Account sandbox docs#567
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Greptile SummaryDocumentation-only fixes to the Global Account sandbox guides: corrects a malformed
Confidence Score: 5/5All three files contain only documentation and comment corrections — no logic, runtime behaviour, or data handling is touched. Every change is a copy fix: a malformed header value corrected, a stale header removed, a wrong count updated, and comment wording tightened. None of the changes affect compiled code, API contracts, or runtime paths. No files require special attention.
|
| Filename | Overview |
|---|---|
| mintlify/snippets/sandbox-global-account-magic.mdx | Fixed two curl examples: added the Request: prefix to the passkey Request-Id header, and removed the unused Request-Id header from the OAuth verify example. |
| samples/frontend/src/steps/embeddedWallet/AuthenticateAndSign.tsx | Comment-only update clarifying that default sandbox mode uses intentional shortcuts, and that the wallet signature value is a legacy magic value. |
| scripts/README.md | Corrected subcommand count from three to four (matching gen-keypair, encrypt-otp, decrypt-bundle, stamp), and reworded section 1.4 to clarify the bootstrap step issues a challenge rather than performing a full verify. |
Sequence Diagram
sequenceDiagram
participant Client
participant Grid as Grid API (Sandbox)
Note over Client,Grid: Passkey verify (corrected docs)
Client->>Grid: "POST /auth/credentials/{id}/challenge"
Grid-->>Client: "{ requestId: "Request:uuid", challenge }"
Client->>Grid: "POST /auth/credentials/{id}/verify + Request-Id: Request:uuid"
Grid-->>Client: "{ encryptedSessionSigningKey }"
Note over Client,Grid: OAuth verify (header removed from docs)
Client->>Grid: "POST /auth/credentials/{id}/verify + { oidcToken, clientPublicKey }"
Grid-->>Client: "{ encryptedSessionSigningKey }"
Note over Client,Grid: scripts/README.md bootstrap (section 1.4)
Client->>Grid: "POST /auth/credentials/{id}/challenge"
Grid-->>Client: OTP email sent (sandbox: use 000000)
Reviews (4): Last reviewed commit: "[grid] fix Global Account sandbox docs" | Re-trigger Greptile
9aa1eda to
2e284b5
Compare
ae10b88 to
dce3110
Compare
2e284b5 to
7da0598
Compare
dce3110 to
fce4599
Compare
7da0598 to
460893f
Compare
fce4599 to
62b4494
Compare
d409949 to
f856ba9
Compare
62b4494 to
c93756e
Compare
f856ba9 to
536a5ac
Compare
c93756e to
01c6cc1
Compare
The base branch was changed.
01c6cc1 to
979710e
Compare
Merge activity
|

Summary
Request:<uuid>header value.Request-Idheader from the OAuth sandbox verify example.Validation
npm run buildinsamples/frontendmake buildat the stack tip