Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-opensaml

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

Using go browser pkg

Installation

go install github.com/swchck/go-opensaml@latest

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.

About

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

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages