Skip to content

nicolabeghin/keycloak-cieid-provider-configuration-client

Repository files navigation

Keycloak CIE ID providers configuration client

A NodeJS client to automatically configure a Keycloak instance already setup with keycloak-cieid-provider

image

Requirements

Docker or node and npm

Configuration

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

Running the tool

Docker

Easiest way by leveraging Docker:

make

Without Docker

If you have NodeJS installed

npm install
npm run create-idps

Authentication flow

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.

image

Credits

About

A configuration client for a keycloak installation patched with the cieid provider plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages