From b541f0b3fe6c4ebd5bfac50cc07f7193f3dce864 Mon Sep 17 00:00:00 2001 From: Paul Bienkowski Date: Wed, 17 Nov 2021 18:33:52 +0100 Subject: [PATCH] Rename development realm to not contain space --- README.md | 2 +- api/config.dev.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index af54afe..2f302e7 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ Now navigate to http://localhost:3003/ and follow these steps: * Click "Administration Console" and log in with `admin` / `admin` * Hover over the realm name on the top left and click "Add realm" -* Name the Realm `OBS Dev` (spelling matters) and create it +* Name the Realm `obs-dev` (spelling matters) and create it * In the sidebar, navigate to Configure -> Clients, and click "Create" on the top right * Client ID is `portal`. Hit "Save". * In the Tab "Settings", edit the new client's "Access Type" to `confidential` diff --git a/api/config.dev.py b/api/config.dev.py index f48f737..6cdf31f 100644 --- a/api/config.dev.py +++ b/api/config.dev.py @@ -4,7 +4,7 @@ DEBUG = False AUTO_RESTART = True SECRET = "!!!!!!!!!!!!CHANGE ME!!!!!!!!!!!!" POSTGRES_URL = "postgresql+asyncpg://obs:obs@postgres/obs" -KEYCLOAK_URL = "http://keycloak:8080/auth/realms/OBS%20Dev/" +KEYCLOAK_URL = "http://keycloak:8080/auth/realms/obs-dev/" KEYCLOAK_CLIENT_ID = "portal" KEYCLOAK_CLIENT_SECRET = "76b84224-dc24-4824-bb98-9e1ba15bd58f" DEDICATED_WORKER = True