Skip to content

thameera/saml-mock

Repository files navigation

SAML Mock SP and IdP

Live version at: https://samlmock.dev

Using the mock IdP

SP Configuration

  • Certificate: Can be downloaded from the top-left button at https://samlmock.dev/idp
  • Sign-in URL: Set this to https://samlmock.dev/idp?aud=SP_AUDIENCE&acs_url=SP_ACS_URL. Replace SP_AUDIENCE and SP_ACS_URL correctly.

Example: https://samlmock.dev/idp?aud=urn:auth0:tham:mock-saml&acs_url=https://tham.auth0.com/login/callback

Doing a SAML flow

  1. Initiate a login from the SP.
  2. When the Mock IdP screen appears, change any variables as necessary.
  3. Click Submit button on top-right. The app will send a SAML response to the SP.

Running locally

npm i
npm run dev

App will be available at http://localhost:3333.

Inspirations and reference

About

SAML Mock IdP and SP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •