Fixed Engine-based Authentication APIs

This commit is contained in:
2025-10-27 22:51:36 -06:00
parent c8550ac82d
commit b760ac3083
2 changed files with 3 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ def _build_runtime_config() -> Dict[str, Any]:
if api_groups_override:
api_groups: Any = api_groups_override
else:
api_groups = ("core", "tokens", "enrollment")
api_groups = ("core", "auth", "tokens", "enrollment")
return {
"HOST": os.environ.get("BOREALIS_ENGINE_HOST", DEFAULT_HOST),

View File

@@ -208,6 +208,8 @@ def _parse_api_groups(raw: Optional[Any]) -> Tuple[str, ...]:
else:
return tuple()
cleaned = [part.lower() for part in parts if part]
if "auth" not in cleaned:
cleaned.insert(0, "auth")
return tuple(dict.fromkeys(cleaned))