Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/morzhanov/go-saml

Go SAML example
https://github.com/morzhanov/go-saml

Last synced: 5 days ago
JSON representation

Go SAML example

Awesome Lists containing this project

README

        

# go-saml

Go SAML example based on go-saml example

- `IDP` - Identity Provider service
- `SP` - Service Provider service

## Running

- Run each service separately and perform `POST /auth` request to SP
- SP should issue SAML token
- Now client able to perform `GET /info` endpoint request with SAML token

```bash
go run ./cmd/idp.go
go run ./cmd/sp.go

curl -d "TODO: add data" -X POST http://localhost:8080/auth

curl http://localhost:8080/info TODO: add header
```