Main
Treat it like ssh-agent: start the service early (login/X session) and rely on environment variables to locate the socket.
Prefer
oidc-token <issuer_url>in scripts when portability matters; README recommends issuer_url for shareable scripts.Use device flow on headless hosts: README notes
oidc-gen --flow=devicewhen a browser isn't available.
Source-backed notes
- README shows macOS install via Homebrew:
brew tap indigo-dc/oidc-agentthenbrew install oidc-agent. - README quickstart starts the agent with
evaloidc-agent-service start`` and usesoidc-gen+oidc-token. - README mentions device flow via
--flow=deviceand describes listing configs withoidc-add -l/oidc-gen -l.
FAQ
- Do I need a browser to authenticate?: Not always. README says you can use device flow (
--flow=device) on hosts without a browser. - Can it manage multiple accounts?: Yes. README says multiple account configurations can be loaded concurrently.
- Where is the documentation?: README points to https://indigo-dc.github.io/oidc-agent/ for full docs.