Install with Homebrew

oidc-agent can be installed easiest using homebrew.

brew tap indigo-dc/oidc-agent
brew install oidc-agent

To use GUI prompting one must install pashua:

brew cask install pashua

Building oidc-agent manually

Download source code

  • git clone: git clone

Install dependencies:

  • Install brew to install dependencies

  • pkgconfig brew install pkgconfig

  • argp brew install argp-standalone

  • libsodium brew install libsodium

  • libmicrohttpd brew install libmicrohttpd

  • help2man brew install help2man

Build oidc-agent

Run make


Install using make

make install
make post_install

This installs all necessary components to correct locations.