Skip to content

fix(connect-gpt): gateway open by default, lock down via GATEWAY_API_KEY#127

Merged
telivity-otaip merged 1 commit into
mainfrom
claude/gateway-open-by-default
Jun 19, 2026
Merged

fix(connect-gpt): gateway open by default, lock down via GATEWAY_API_KEY#127
telivity-otaip merged 1 commit into
mainfrom
claude/gateway-open-by-default

Conversation

@telivity-otaip

Copy link
Copy Markdown
Collaborator

Follow-up to #126. The ChatGPT gateway is a demo/template showing hotels how to connect their own GPT, so it should work with zero setup. Inverts the auth posture: open when no key is set; when GATEWAY_API_KEY is configured it is required (timing-safe). Removes the GATEWAY_ALLOW_PUBLIC flag — setting a key is the single lockdown switch. Gateway tests 18/18, typecheck clean.

🤖 Generated with Claude Code

…EWAY_API_KEY set

The gateway is a demo/template showing hotels how to connect their own GPT, so it
should work out-of-the-box with no config. Invert to: OPEN when no key is set;
when GATEWAY_API_KEY is configured it is REQUIRED (timing-safe). Drops the
GATEWAY_ALLOW_PUBLIC flag — setting a key is the single lockdown switch.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@telivity-otaip telivity-otaip merged commit cc6ae68 into main Jun 19, 2026
4 checks 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.

1 participant