fix: restore quickstart page, accept AAO API keys on test agent#1686
Merged
Conversation
- Restore docs/quickstart.mdx (deleted in #1509) with wire-format examples tested against the live training agent: MCP tool call, error handling, create_media_buy, and push notifications - Add WorkOS API key validation to training agent auth so AAO dashboard keys work as bearer tokens for direct access - Remove hardcoded PUBLIC_TEST_AGENT_TOKEN fallback from source - Strip exposed p6IQ token from all current docs, replace with $ADCP_AUTH_TOKEN env var references Closes #1576 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
docs/quickstart.mdx(deleted in Restructure docs nav, introduce Sage as protocol identity #1509 nav restructure) with wire-format examples verified against the live training agentsk_/wos_api_key_prefix) work as bearer tokensPUBLIC_TEST_AGENT_TOKENfallback from source (env-var only)p6IQtoken from all current docs, replace with$ADCP_AUTH_TOKENenv var referencesCloses #1576
Test plan
get_productsresponse shape includingpricing_option_idcreate_media_buywith correctaccount,budget(number),start_time,end_timeisError: truewithcode/message)Follow-ups
PUBLIC_TEST_AGENT_TOKENenv var in production (thep6IQvalue is compromised)dist/versioned snapshots still contain the old token (build artifacts, not source of truth)🤖 Generated with Claude Code