Configure Keycloak
Configure Keycloak for HTTP access and import the ORISO realm. This step is critical for authentication to work properly. Keycloak is deployed via Helm as part of theoriso-platform umbrella chart.
Keycloak is deployed as
oriso-platform-keycloak service in the caritas namespace. Access it via:- Internal:
http://oriso-platform-keycloak.caritas.svc.cluster.local:8080 - External:
https://auth.oriso-dev.site(via Ingress)
Configure HTTP Access
Disable SSL requirements for Keycloak realms to allow HTTP access. This is required for the authentication flow.Option A: Using Script (Recommended)Option B: Manual ConfigurationVerify Configuration
Wait for Keycloak pod to be fully ready (about 60 seconds after the pod shows as Running) before executing these commands.
If the script doesn’t exist, use Option B (Manual Configuration) below.
The output should show
sslRequired as NONE for the master realm.Import Keycloak Realm
Import the ORISO realm configuration into Keycloak. You can do this via the admin console or command line.Get Server IPOption A: Using Admin Console (Recommended for Visual Verification)Option B: Using Command Line
- Open browser and navigate to:
https://auth.oriso-dev.site/admin/(orhttp://YOUR_SERVER_IP:8080/admin/if Ingress not configured) - Login with credentials:
admin/admin(default, change in production) - Select “Master” realm dropdown → Click “Add realm”
- Click “Select file”
- Navigate to:
~/online-beratung/caritas-workspace/ORISO-Keycloak/realm.json - Upload and click “Create”
- Verify realm “online-beratung” is created
You should see the “online-beratung” realm in the realm dropdown menu.
The Keycloak pod restart may take 1-2 minutes. Wait for the pod to be ready before proceeding.
Verification
After completing both steps, verify Keycloak is configured correctly:Expected output should show the realm name “online-beratung” in the JSON response.
Troubleshooting
HTTPS Required Error
If you see “HTTPS Required” errors:Cannot Login to Keycloak
Check Keycloak logs for errors:Realm Not Found
Check if realm exists:Next Steps
- Setup Databases - Configure MariaDB and MongoDB
- Deploy Backend Services - Deploy microservices