benvin/cache-bearer-tokens
master
Each upstream 401 re-ran the full token-endpoint dance. Cache the minted token keyed by remote + challenge, honouring the token's expires_in (with a safety margin, defaulting to 60s), so subsequent blobs sharing a scope reuse it. Refs #77