diff --git a/custom_components/auth_oidc/endpoints/injected_auth_page.py b/custom_components/auth_oidc/endpoints/injected_auth_page.py
index 7112734..74d0945 100644
--- a/custom_components/auth_oidc/endpoints/injected_auth_page.py
+++ b/custom_components/auth_oidc/endpoints/injected_auth_page.py
@@ -64,7 +64,9 @@ async def frontend_injection(hass: HomeAssistant, sso_name: str) -> None:
# Inject JS and register that route
injection_js = ""
sso_name_js = f""
- frontend_code = frontend_code.replace("