Documentation
¶
Overview ¶
This is an example that implements a bitly-esque short link service.
To try it locally, start the example identity provider first and then this service:
go run ./example/idp go run ./example
The identity provider signs its metadata and writes the certificate it signs with to idp-cert.pem. The service trusts the metadata only if that certificate signed it: the metadata names the certificates trusted to sign assertions, so it must not be taken from the network unchecked.
Then browse to http://localhost:8000/ and log in as alice / hunter2.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package main contains an example identity provider implementation.
|
Package main contains an example identity provider implementation. |
|
Package main contains an example service provider implementation.
|
Package main contains an example service provider implementation. |