Skip to content

Turn off the dev sign-in stub now that Google sign-in works - #3

Merged
reportbase merged 1 commit into
mainfrom
claude/nifty-hawking-y3gd52
Oct 4, 2026
Merged

reportbase merged 1 commit into
mainfrom
claude/nifty-hawking-y3gd52

Conversation

@reportbase

Copy link
Copy Markdown
Owner

DEV_AUTH = "true" let anyone sign in as anyone, with no password, through /auth/login?provider=dev. That was fine while only tangent.fit used the gateway and Google wasn't set up. Now:

  • Google sign-in works (the owner signs in as reportbase)
  • games, draw and 3d on reportbase.github.io sign in here

So the stub would let a stranger claim an account and spend the key.

Change

  • wrangler.toml: DEV_AUTH = "false", with a comment saying why.
  • Test: the wrangler.toml test now also checks DEV_AUTH is "false". It fails if it's switched back on. 30 tests pass.

Only the gateway's own demo.html offers the dev button; none of the apps use it.

Merging deploys it automatically. Afterwards, /health should no longer report devAuth: true and its warning.

🤖 Generated with Claude Code

https://claude.ai/code/session_015yy9hSCgHQ5WYRZu4JMuW9


Generated by Claude Code

DEV_AUTH let anyone sign in as anyone without a password, which was fine
while only tangent.fit used the gateway and Google wasn't set up. Google
sign-in now works, and games, draw and 3d on reportbase.github.io sign in
here, so the stub would let a stranger claim an account and spend the key.
Nothing of the owner's uses it (only demo.html offers it).

The wrangler.toml test now also checks DEV_AUTH is "false" in the deployed
config; it fails if it is switched back on. 30 tests pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015yy9hSCgHQ5WYRZu4JMuW9
@reportbase
reportbase merged commit b907514 into main Oct 4, 2026
2 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.

2 participants