A NodeJS client to automatically configure a Keycloak instance already setup with keycloak-spid-provider plugin
Docker or node
and npm
Copy .env-example
to .env
, configure it and wipe out the comments
If you want to have official AgID SPID Demo Validator (https://demo.spid.gov.it/validator) enabled, set the following .env
file properties
createSpidDemoIdP = true
If you want to have official AgID SPID Validator (https://validator.spid.gov.it) enabled, set the following .env
file properties
createSpidValidatorIdP = true
If you have a local spid-saml-check instance, set the following .env
file properties
createSpidTestIdP = true
spidTestIdPAlias = spid-saml-check
spidTestIdPMetadataURL = https://localhost:8443/metadata.xml
Easiest way by leveraging Docker:
make
If you have NodeJS installed
npm install
npm run create-idps
By default, the new IdPs are created with a SPID-specific Authentication Flow, as per https://github.com/italia/spid-keycloak-provider/wiki/Configuring-the-Authentication-Flow - this is named First Broker Login (SPID)
(ref. idpmodel.json#L11) and must be created before running the client.