italia / spid-django

SPID authentication for Django
Apache License 2.0
41 stars 20 forks source link

Change test IdP settings #77

Closed brunato closed 3 years ago

brunato commented 3 years ago

This PR updates settings of test IdPs, adding also a couple of configuration settings for SPID validator, useful when the onboarding procedure has to be done. Some settings ere renamed in order to match the current meaning of the configuration entry. When a test IdP is activated its name is added to the rendered spid_button.html template, so one doesn't need to provide an override to remove test IdPs from SPID button, but simply change the settings.

Changes:

Note: it could be have a sense to add SPID validator and SPID Demo metadata to package or otherwise to update the _updateidps.py script to download also their metadata.