Mock service provider (SP) app for validating IdP and IdV APIs.
May also function as reference Service Provider implementation.
These instructions assume
identity-idp is also running locally at
http://localhost:3000. This sample sp is configured to run on
$ make setup
$ make test
$ SAML_ENV=local make run
Deploy to your cloud.gov sandbox
$ cf target -o sandbox $ cf create-service rds shared-psql id-sp-rails_production-dev $ cf push -f manifest_dev.yml (see, for reference https://docs.cloud.gov/apps/databases/ and https://docs.cloud.gov/getting-started/one-off-tasks/)
Deploy to login.gov lower envs
$ cap [demo, dev, or tf] deploy $ cap -T # for a list of available capistrano tasks
Generating a new key + self-signed cert
openssl req -days 3650 -newkey rsa:2048 -nodes -keyout keys/saml_test_sp.key \ -x509 -out certs/sp/demo_sp.crt -config config/openssl.conf
This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.
All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.