Example Generic SAML Stepup Provider.
To get started, first setup the development environment. The dev. env. is a virtual machine. Every task described is run from that machine.
- ansible 2.x
- vagrant 1.9.x
- vagrant-hostsupdater
- Virtualbox
- ansible-galaxy
ansible-galaxy install -r ansible/requirements.yml -p ansible/roles/
vagrant up
Go to the directory inside the VM:
vagrant ssh
cd /vagrant
Install composer dependencies:
composer install
If everything goes as planned you can directly go to:
https://gssp.stepup.example.com
Xdebug is configured when provisioning your development Vagrant box. It's configured with auto connect IDE_KEY=phpstorm.
To run all required test you can run the following command from the dev env:
composer test
Every part can be run separately. Check "scripts" section of the composer.json file for the different options.