Skip to content

Serve OpenAI Apps domain-verification token - #21

Merged
Olostep-devs merged 2 commits into
mainfrom
openai-domain-verify
Jul 3, 2026
Merged

Serve OpenAI Apps domain-verification token#21
Olostep-devs merged 2 commits into
mainfrom
openai-domain-verify

Conversation

@Olostep-devs

Copy link
Copy Markdown
Collaborator

Adds a route that serves the OpenAI Apps domain-verification token as plain text at /.well-known/openai-apps-challenge on mcp.olostep.com, so ChatGPT can verify we control the host.

The token is read from the OPENAI_APPS_CHALLENGE_TOKEN env var, so it can be set or rotated without a code change. The route is dormant (returns 404) until the env var is set, so merging this is safe and changes nothing until the token is configured on the task.

Verified locally: with the env var set the path returns 200 text/plain with the exact token; without it, 404.

To activate after merge and deploy: set OPENAI_APPS_CHALLENGE_TOKEN on the mcp ECS task, then click Verify in the OpenAI app settings.

@Olostep-devs
Olostep-devs merged commit f51b333 into main Jul 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants