Skip to content

Latest commit

 

History

History
 
 

setup_keycloak

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Preparation: Setting up Keycloak as Identity Provider

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.

Setup Keycloak

To setup Keycloak:

Either copy complete archive file keycloak.zip from provided USB stick at the workshop

OR follow the following steps:

  1. Download the binary distribution for Keycloak 6.0.1.
  2. 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)
  3. Download the prepared keycloak configuration for this workshop
  4. 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:

  1. 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
  2. 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
  3. Now direct your browser to localhost:8080/auth/admin
  4. 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

Keycloak Workshop

If you want to know more about setting up a Keycloak server for your own projects then please consult the keycloak administration docs.