Skip to content

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.

License

Notifications You must be signed in to change notification settings

monmohan/samltools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published