In this workshop we will use Keycloak by JBoss/RedHat as local identity provider.
Keycloak is certified for OpenID Connect 1.0 and implements OAuth 2.0.
To setup Keycloak:
Either copy complete archive file keycloak.zip from provided USB stick at the workshop
OR follow the following steps:
- Download the binary distribution for Keycloak 6.0.1.
- Extract the downloaded zip file keycloak-6.0.1.zip into a new local directory of your choice (this directory will be referenced as <KEYCLOAK_INSTALL_DIR> in next steps)
- Download the prepared keycloak configuration for this workshop
- Extract the downloaded file keycloak_data.zip into the sub directory <KEYCLOAK_INSTALL_DIR>/standalone that has been created as part of step 2
To startup Keycloak:
- Open a terminal and change directory to sub directory <KEYCLOAK_INSTALL_DIR>/bin and start Keycloak using the standalone.sh(Linux or Mac OS) or standalone.bat (Windows) scripts
- Wait until keycloak has been started completely - you should see something like this
6.0.1 (WildFly Core 8.0.0.Final) started in 6902ms - Started 580 of 842 services
- Now direct your browser to localhost:8080/auth/admin
- Login into the admin console using admin/admin as credentials
Now, if you see the realm workshop on the left then Keycloak is ready to use it for this workshop
If you want to know more about setting up a Keycloak server for your own projects then please consult the keycloak administration docs.