saml-example

command module
v0.0.0-...-0b6e384 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2020 License: BSD-3-Clause Imports: 14 Imported by: 0

README

SAML Example

Demo

go build

Then in another terminal:

./saml-example -server

Then in another terminal:

openssl req -x509 -newkey rsa:2048 -keyout myservice.key -out myservice.cert -days 365 -nodes -subj "/CN=myservice.example.com"
./saml-example -client

Then:

curl localhost:7000/saml/metadata > metadata.xml
curl -T metadata.xml localhost:8000/services/test

Now open: localhost:7000/hello
Username: john
Password: johnldap

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