Skip to content

GermanoGiudici/keycloak-spid-provider-configuration-client

Repository files navigation

Configuration Client

It allows the configuration of a keycloak instance with the https://github.com/lscorcia/keycloak-spid-provider plugin already installed

requirements

  • node
  • npm

Configuration

npm install

copy .env-example into .env, configure it and wipe out the comments

npm run create-realm 

builds a pre configured realm (with the right Authenticator)

npm run create-idps

downloads the metadata from the Official Url and build all the spid identity providers in keycloak. It creates also all the suggested mappers (see the main wiki).

If you have a spid test idP (https://github.com/italia/spid-testenv2) deployed somewhere, you can enable the configuration of the keycloak identity provider, setting the following .env file properties

createSpidTestIdP = true 
spidTestIdPAlias = spid-testenv2
spidTestIdPMetadataURL = http://localhost:8088/metadata

You can use the same properties to configure the Official Spid Validator https://github.com/italia/spid-saml-check

TODO

The attributeConsumingServiceIndex attribute of the Keycloak IdP configuration is incremented automatically but it's better dublecheck it

This project is released under the Apache License 2.0, same as the main Keycloak package.

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published