Repository navigation
🛰️🔑 ↝ [SSC-35]: Serve signed-in game reads through the edge Worker on staging - #260
Merged
Merged
Conversation
Production builds stay unchanged; only the staging deploy sets NEXT_PUBLIC_EDGE_API. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…from the edge Worker Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…the edge Worker Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…rough the edge Worker Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…et propagates Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…en on staging Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…he staging session Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…minted sessions reach the edge Worker A token naming a foreign origin is still rejected (403); tokens without azp, such as sessions minted from a sign-in ticket, are accepted once issuer and signature verify, matching Clerk's own verifier. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This branch was successfully deployed
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.
Adds the staging-only NEXT_PUBLIC_EDGE_API flag, waits for Clerk before routing reads to the Worker, checks the Clerk azp claim only when present (foreign azp still 403), and chains the staging playtest after the staging deploy so it runs on push.
Verified: deploy + playtest green on 918155d (Worker accepts the signed-in Clerk token; garden flow completes; endpoint closed afterwards).
🤖 Generated with Claude Code