Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 790 Bytes

README.md

File metadata and controls

20 lines (18 loc) · 790 Bytes

samltools

A playground to learn SAML. The source contains a simple Service Provider and an Identity Provider. As of now, Service Provider is tested with Auth0 and Okta. IDP is tested with Auth0.

How to setup a service provider locally?

  • Clone the repo
  • Setup a loopback mapping to "sp.samltools.com". For example on mac, I do the following
Edit /etc/hosts to add 127.0.0.7 sp.samltools.com
Run sudo ifconfig lo0 alias 127.0.0.7 up
  • You should be able to use the IDP configured in spconfig.yml as-is
  • Start the Service Provider
$ cd sp
$ go run samlsp.go

SP Home