Document async job polling auth#667
Open
decofe wants to merge 2 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
||
| If the poll endpoint must support Sign-In-With-X, also support the MPP polling contract above for clients that paid through MPP. | ||
|
|
||
| ## Chain support |
|
|
||
| This keeps both requests on the standard MPP `402` → Credential → retry path. Clients that use `mppx` don't need a second authentication implementation to retrieve work they already paid for. | ||
|
|
||
| ## StableStudio video |
|
|
||
| Do not advertise only Base (`eip155:8453`) or Solana for a Tempo-paid job. The polling challenge must accept the chain the client used to pay, otherwise an MPP client can submit the job and then fail to retrieve it. | ||
|
|
||
| ## If you use Sign-In-With-X |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
eip155:4217as required for SIWX supportedChains when jobs are paid on TempoPrompted by: @kazanins
Testing
corepack pnpm generate:discoverycorepack pnpm check:typescorepack pnpm exec biome check src/pages/advanced/async-jobs.mdx src/pages/advanced/identity.mdx vocs.config.tsPATH="/tmp/centaur-bin:$PATH" corepack pnpm build(stopped after >1 minute with no Vite transform progress; prior run verified generator steps and reached Vite build)Note: this repo is the MPP docs site and consumes
mppx@0.6.27; the SDK implementation requested for first-class SIWX support lives upstream inwevm/mppx.