Repository navigation
Turn off the dev sign-in stub now that Google sign-in works - #3
Merged
Merged
Conversation
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
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.
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:reportbase.github.iosign in hereSo the stub would let a stranger claim an account and spend the key.
Change
wrangler.toml:DEV_AUTH = "false", with a comment saying why.wrangler.tomltest now also checksDEV_AUTHis"false". It fails if it's switched back on. 30 tests pass.Only the gateway's own
demo.htmloffers the dev button; none of the apps use it.Merging deploys it automatically. Afterwards,
/healthshould no longer reportdevAuth: trueand its warning.🤖 Generated with Claude Code
https://claude.ai/code/session_015yy9hSCgHQ5WYRZu4JMuW9
Generated by Claude Code