Retrieve SAML token using default external browser and write it to stdin.
Using go browser pkg
go install github.com/swchck/go-opensaml@latestgo-opensaml -s <server> [-p <port>] [-r <realm>] [-t]
Usage of ./opensaml:
-p, --port int Port to connect to (default 8020)
-r, --realm string Realm to authenticate to
-s, --server string Server to connect to
-t, --trust-all Trust all certificatessrv=<server-url>; go-opensaml -s $srv | sudo openfortivpn $srv --cookie-on-stdinset srv <server-url>; go-opensaml -s $srv | sudo openfortivpn $srv --cookie-on-stdinFor local build, run task build:
task buildBinary file will be created in bin directory.