pals login
Redeem an invite token and join the swarm allow-list.
What it does
Sends your peer identity (derived from identity.key) to the ProgressPals backend and presents your invite token. If the token is valid, the backend adds your peer ID to the swarm’s allow-list and returns a per-peer credential, which is stored in config.json (mode 0600).
Run this once per swarm. After it succeeds, run pals join MODEL --peer MADDR to actually connect.
Options
--invite-tokenPROGRESSPALS_INVITE_TOKEN--config-dirExamples
Pass the token via env var (preferred — stays out of shell history):
pals login --invite-token pp_inv_... works but the token ends up in your shell history and in /proc/<pid>/cmdline while the process runs. Always prefer the env-var form.How auth works
At RPC time, the cryptographic peer ID (verified by libp2p’s Noise handshake) is the auth token — the server’s allow-list refreshes from the backend and checks peer ID, not the per-peer credential. Your credential is a redemption receipt and a future-reserved slot for per-peer key material; you don’t present it on each call.