1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
## Installation
### 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 https://github.com/indigo-dc/oidc-agent`
#### Install dependencies:
- Install [brew](https://brew.sh) to install dependencies
- pkgconfig `brew install pkgconfig`
- argp `brew install argp-standalone`
- libsodium `brew install libsodium`
- libmicrohttpd `brew install libmicrohttpd`
<!-- - libsecret-1 `brew install libsecret-1` -->
<!-- - you might have to add `/usr/local/opt/libffi/lib/pkgconfig` to `$PKG_CONFIG_PATH` -->
- help2man `brew install help2man`
#### Build oidc-agent
Run make
```
make
```
#### Install using make
```
make install
make post_install
```
This installs all necessary components to correct locations.
|