Repository navigation
feat(pm-console): a Sign-in screen that turns Google sign-in on - #12517
Merged
Merged
Conversation
Google sign-in has waited on one thing only a signed-in person can do: making the OAuth client. Everything around that step is now in the app. More, Sign-in shows which methods are on, the two addresses to give Google (with copy buttons), and takes the client ID and secret. The console hands them to expose.py on its standard input, which gives them to Cloudflare. They are kept nowhere else: not in a file, a log, the record of actions, or the edge (the action is never held). The same screen replaces the client later. expose.py: - --google-stdin creates the Google sign-in method from a client read from standard input, or gives an existing one the new client. What is not a client is refused before Cloudflare is asked anything. - --status prints which sign-in methods are on and changes nothing. - The owner's address is no longer written in the script. It is given once with --owner and remembered in the console's environment file, which every existing install already has. Test fixtures use example addresses. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 53 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Nov 22, 2026
Open
Closed
Open
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.
Why
Google sign-in as the first way in has been waiting on a single step: the OAuth client, which Google lets only a signed-in person create (#12417). Around that step there was still a chore: find the right console page, work out the two addresses to enter, then create two secrets with exact names. This puts all of it in the app and leaves only the part that really is hands-only.
What changes
More → Sign-in
Where the two values go
expose.py --google-stdinon standard input → Cloudflare. Not the command line, a file, a log, the record of actions (audit: () => ({})), or the edge's storage (the action is not one that is held).expose.py--google-stdin: create the sign-in method from the client, or give an existing one the new client.--status: which methods are on, as JSON; changes nothing; needs no owner.--owner, then remembered in the console's environment file. Existing installs already have it there, so the timer's runs are unchanged.Test fixtures now use example addresses throughout.
Checks
bun test: 108 pass (4 new: status read; the client goes to standard input and nowhere else; refusals before the script runs; a failing script's reason without either value even when the script echoed one).python3 -m unittest: 18 pass (3 new: owner named once, remembered, and absent from the script's source; Google from standard input incl. refusals with zero requests made, replacement, and nothing printed or written holding either value;--statuswith zero changes).Not checked
expose.pyalready used for the two-secrets path.Generated by Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.