Update Keycloak server URL to include /kcauth in configuration files

This commit is contained in:
AlexeerCT
2025-12-26 12:03:47 -06:00
parent 731ac168b5
commit 3409d0a163
6 changed files with 11 additions and 14 deletions

View File

@@ -24,7 +24,7 @@ class Settings(BaseSettings):
CORE_DB_PASSWORD: str = "postgres"
# Keycloak
KEYCLOAK_SERVER_URL: str = "http://localhost:8080"
KEYCLOAK_SERVER_URL: str = "http://localhost:8080/kcauth"
KEYCLOAK_REALM: str = "master"
KEYCLOAK_CLIENT_ID: str = "anexo76-backend"
KEYCLOAK_CLIENT_SECRET: str = ""
@@ -43,7 +43,7 @@ class Settings(BaseSettings):
LICENSE_CHECK_ENABLED: bool = True
model_config = SettingsConfigDict(
env_file=".env", case_sensitive=True, extra="ignore"
env_file=".env", case_sensitive=True, extra="ignore", env_file_encoding="utf-8"
)
@property