Skip to content

Commit

Permalink
Isolated deploy main (#579)
Browse files Browse the repository at this point in the history
* Hardcoded Keycloak paths

* Removed /auth from server_url

* Linting changes
  • Loading branch information
wcater803 authored Feb 25, 2025
1 parent 6c46509 commit 1544304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/ibutsu_server/util/keycloak.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ def get_keycloak_config(is_private=False):
if not backend_url.endswith("/api"):
backend_url += "/api"
server_url = current_app.config["KEYCLOAK_BASE_URL"]
if not server_url.endswith("auth"):
server_url = build_url(server_url, "auth")
# if not server_url.endswith("auth"):
# server_url = build_url(server_url, "auth")
realm = current_app.config.get("KEYCLOAK_REALM")
realm_base_url = build_url(server_url, "realms", realm)
config = {
Expand Down

0 comments on commit 1544304

Please sign in to comment.