Skip to content

Add named cookie accounts and cross-account resume transfer - #2

Open
HouXinyv wants to merge 1 commit into
dannyota:mainfrom
HouXinyv:feat/named-cookie-accounts
Open

HouXinyv wants to merge 1 commit into
dannyota:mainfrom
HouXinyv:feat/named-cookie-accounts

Conversation

@HouXinyv

Copy link
Copy Markdown

Summary

  • add named FlowCV account profiles with isolated cookie and session state
  • support Google/OAuth-created accounts through a hidden cookie prompt
  • add --account plus account add/list/use/remove/migrate commands
  • add transfer to copy a resume between two named accounts
  • document the browser-cookie workflow and add account/transfer tests

Security and compatibility

  • cookie input uses getpass, so credentials do not enter shell history
  • account files are created with owner-only permissions where supported
  • named cookie profiles never inherit legacy email/password credentials from .env
  • the existing single-account environment and cached-session workflow remains supported

Test plan

  • python -m unittest tests.test_accounts tests.test_client_auth tests.test_config tests.test_cli -v
  • python -m py_compile flowcvcli/config.py flowcvcli/client.py flowcvcli/cli.py
  • git diff --check

All targeted tests pass on Windows. The existing Unix permission-bit assertions in the broader suite remain platform-specific on Windows.

This branch has not been deployed

No deployments
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.

1 participant