A NodeJS client to automatically configure a Keycloak instance already setup with keycloak-cieid-provider
- creates Keycloak configuration for CIE ID Testing (https://preproduzione.idserver.servizicie.interno.gov.it/idp/shibboleth?Metadata)
- creates Keycloak configuration for CIE ID Production (https://idserver.servizicie.interno.gov.it/idp/shibboleth?Metadata)
Docker or node and npm
Copy .env-example to .env, configure it and wipe out the comments
If you want to have official CIE Testing enabled, set the following .env file properties
createCiedTestingIdP = true
If you want to use spid-sp-test, set the following .env file properties
createSpidSpTestIdP = true
spidSpTestIdPMetadataURL = https://yourdomain.com/spid-sp-test.xml
Make sure you can uploaded the spid-sp-test metadata.xml to a Keycloak-reachable URL as above. The XML file can be generated with
docker run --rm -it italia/spid-sp-test --idp-metadata > spid-sp-test.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.
- forked from https://github.com/GermanoGiudici/keycloak-spid-provider-configuration-client (kudos to @GermanoGiudici)
- this project is released under the Apache License 2.0, same as the main Keycloak package.

