GeezerVison is showing github.com — Google sign-in for pm.security.cab: create the OAuth client (hands: interactive login) · Issue #12417 · developing-today/code
Google sign-in for pm.security.cab: create the OAuth client (hands: interactive login) #12417Description
https://pm.security.cab is live behind sign-in limited to [email protected] (#12360, #12412). Sign-in works today with a one-time PIN mailed to that address. Google sign-in needs one thing no agent can do: a Google OAuth client, which only a signed-in Google account can create.
The one action (about five minutes)
- In the Google Cloud console, under APIs & Services, Credentials, create an OAuth client ID of type Web application.
- Authorised redirect URI:
https://snowy-sun-58a9.cloudflareaccess.com/cdn-cgi/access/callback
- Save the client ID and the client secret in Bitwarden Secrets Manager under the names
google.access-sso.client-id and google.access-sso.client-secret.
What happens next, with no further action
pm-stack/console/scripts/expose.py reads those two secrets by name. On its next run it adds Google as a sign-in method in Cloudflare Access and allows it on the pm.security.cab application, next to the one-time PIN. The policy does not change: only [email protected] gets in, by either method. Any agent can run the script; it changes only what is not already so.
Done check
python3 pm-stack/console/scripts/expose.py --check prints no line about Google sign-in being off and exits 0, and the sign-in page for https://pm.security.cab/console/ offers Google.
Generated by Claude Code Activitydeveloping-today commented on Nov 22, 2026 dezren39 commented on Nov 22, 2026 The work around this step is now in the app (code#12517): More → Sign-in shows the steps, the two addresses to give Google with copy buttons, and a form for the client ID and secret. Submitting it turns Google sign-in on at Cloudflare Access with the emailed code kept as the fallback; nothing else is needed afterwards (no Bitwarden secrets, no command).
What is left here is only the part Google restricts to a signed-in person: creating the OAuth client (Google Cloud → Clients → Create client → Web application).
For this account the two values are:
- Authorized JavaScript origin:
https://snowy-sun-58a9.cloudflareaccess.com
- Authorized redirect URI:
https://snowy-sun-58a9.cloudflareaccess.com/cdn-cgi/access/callback
Checked live on the laptop: expose.py --status reads the account and reports {"google": false, "pin": true}. Not checked: the call that creates the Google sign-in method, which needs a real client.
Generated by Claude Code dezren39 commented on Nov 23, 2026
Done — 2026-11-22
Drew created the Google OAuth web client (redirect URI as specified in this issue) and handed the credentials to archer in the main chat; archer saved them in Bitwarden Secrets Manager under exactly the names this issue prescribes — google.access-sso.client-id and google.access-sso.client-secret — and verified both byte-equal on re-read. Values appear nowhere in this record.
That completes this issue's one action. Wiring the client into the Access application for pm.security.cab continues under #12412.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|