# Problem description When deploying the [Remote MCP GitHub OAuth](https://github.com/cloudflare/ai/blob/main/demos/remote-mcp-github-oauth/) example as per the documentation, the user lands on a 404 page during the OAuth loop # Cause [`wrangler.jsonc`](https://github.com/mor10/ai/blob/9fc4c82b71652fe99f885cf53d1c867b6b2aab13/demos/remote-mcp-github-oauth/wrangler.jsonc#L11C3-L16C5) contains `vars` that override any secrets stored using `npx wrangler secret put GITHUB_CLIENT_ID` etc: ```json "vars": { // replace this in .dev.vars "GITHUB_CLIENT_ID": "1234567890", "GITHUB_CLIENT_SECRET": "1234567890", "COOKIE_ENCRYPTION_KEY": "1234567890" }, ``` # Solution Remove the vars from `wrangler.jsonc`. The project already provides `.dev.vars.example` which provides sufficient dev environ support.