Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amazy committed Jul 3, 2024
1 parent 8b54a76 commit d69ab7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/orthanc_auth_service/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
logging.warning("ENABLE_KEYCLOAK_API_KEYS is set, using keycloak to handle api-keys")
needKeycloakAdmin = True

if needKeycloakAdmin or is_secret_defined("KEYCLOAK_CLIENT_SECRET") is not None:
if needKeycloakAdmin or is_secret_defined("KEYCLOAK_CLIENT_SECRET"):
keycloak_client_secret = get_secret_or_die("KEYCLOAK_CLIENT_SECRET")
keycloak_admin_uri = os.environ.get("KECLOAK_ADMIN_URI", "http://keycloak:8080/admin/realms/orthanc/")
keycloak_admin_client = KeycloakAdmin(keycloak_uri=keycloak_uri,
Expand Down

0 comments on commit d69ab7d

Please sign in to comment.