Mock relying party (user app) to send requests to ID server
Branch: master
Clone or download
monfresh Merge pull request #48 from 18F/mb-fix-slo
Fix initial SAML request and SLO
Latest commit 47da737 Sep 21, 2018

Sinatra-based Identity SP


Example service provide (SP) app for use with 18F's IdP.

These instructions assume identity-idp is also running locally at http://localhost:3000. This sample sp is configured to run on http://localhost:4567.


$ make setup


$ make test

Running (local development mode)

$ make run

Generating a new key + self-signed cert

openssl req -days 3650 -newkey rsa:2048 -nodes -keyout config/demo_sp.key \
  -x509 -out config/demo_sp.crt -config config/openssl.conf

openssl x509 -fingerprint -noout -in config/demo_sp.crt