Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I simulate an identity providers for SAML?

I'm writing some SSO code, that will allow any IdP that supports SAML to authorize with my code. I need an IdP Simulator that can provide me a metadata URL with the Idp config so that I can test my code. (I'm providing in my code the SP config).

I search but couldn't find some kind of simulator, all I found were tools that manage the apps if I provide both the IdP and SP configs, which is not what I'm looking for.

Thanks a lot!

like image 505
Emma Avatar asked May 06 '19 20:05

Emma


2 Answers

SAMLtest.id is a free SAML 2.0 testing service that allows you to test your SAML-compliant Service Provider (which is effectively what you have, based on your description). You need to upload a metadata document representing your SP / your application, and you'll be able to download the SAMLtest metadata to use to form your half of the integration.

This is effectively the new version of TestShib, which shut down a number of months ago due to lack of community support, and I use it relatively regularly.

Good luck!

like image 155
Kellen Murphy Avatar answered Oct 29 '22 01:10

Kellen Murphy


Alternatively you could also use SSOCircle , which offers a free of charge SAML IdP as well (https://www.ssocircle.com/en/portfolio/publicidp/). E.g. it is configured as a default SAML IdP for Spring Security SAML extension.

like image 37
Bernhard Thalmayr Avatar answered Oct 29 '22 01:10

Bernhard Thalmayr