Initial Keycloak Configuration

The reference deployment automatically loads a 21travel realm that will be used for authentication. It is only missing a valid redirect URI which needs to be configured as follows:

Obtain Keycloak Admin URL

Locate your Keycloak instance at compliance-dashboard.yourDomain.com/auth, where compliance-dashboard.yourDomain.com should be replaced with the URL where your Compliance Dashboard is accessed from (compare with Caddyfile).

Login Into Keycloak As Admin

Login with the admin credentials you provisioned when spawning the reference deployment.

Keycloak Admin Login

Select Realm

In the menu at the top left you will see keycloak is the default realm.

Keycloak Realm

Click on Manage Realms and click on 21travel.

Keycloak Realm manage realms

You should see 21travel is now the current realm.

Keycloak Realm 21travel

Go to "Clients".

Keycloak Admin Clients

Select "account".

Keycloak Account

Configure All Redirect URLs

In the field "Valid redirect URIs", replace the value with the URL where you access your Compliance Dashboard. Following the above example, the correct value would be https://compliance-dashboard.yourdomain.com/*. Note the /* at the end of the URL.

Keycloak Valid Redirect URIs

Save the changed settings by clicking on the "Save" button.