go-opensaml

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2025 License: MIT Imports: 13 Imported by: 0

README

go-opensaml

Retrieve SAML token using default external browser and write it to stdin.

Using go browser pkg

Usage

go-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 certificates

Using wth openfortivpn

bash
srv=<server-url>; go-opensaml -s $srv | sudo openfortivpn $srv --cookie-on-stdin
fish
set srv <server-url>; go-opensaml -s $srv | sudo openfortivpn $srv --cookie-on-stdin

Build Locally

For local build, run task build:

task build

Binary file will be created in bin directory.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL