Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/morzhanov/go-saml
- Owner: morzhanov
- Created: 2021-10-19T17:52:48.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-22T13:46:22.000Z (about 3 years ago)
- Last Synced: 2024-11-08T00:52:34.518Z (about 2 months ago)
- Language: Go
- Size: 39.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.gocurl -d "TODO: add data" -X POST http://localhost:8080/auth
curl http://localhost:8080/info TODO: add header
```