mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-10 20:07:18 +01:00
seed_session failed with invalid_client on 2026-09-11: the secret in ~/.config/crdt-sync/oauth_client_secret had worked on 2026-08-12 with the same client id, so it was rotated in the console since. There is no API for it (no gcloud command, none in the Firebase CLI), so the irreducible step is copying it from the console page. refresh_oauth_secret.sh opens that page, reads the paste without echo, rejects anything that is not a GOCSPX- secret before writing, and runs the seed at once so a wrong paste fails here rather than on the next timer tick. xdg-open is detached from stdin: the spawned browser inherited the terminal and swallowed the paste. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019pBgaXSJKyY3DarYpDatDF |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _oauth_callback.py | ||
| _seeded_apps.py | ||
| google_id_token.py | ||
| interop_seed.py | ||
| link_google.py | ||
| migrate_github_to_firebase.py | ||
| preflight_firebase.py | ||
| refresh_oauth_secret.sh | ||
| seed_session.py | ||