Compare commits

..
2 changed files with 1 additions and 2 deletions

View file

@ -135,7 +135,7 @@ def clear_oidc_auth_state(resp: Response):
def get_logged_in_token_user(req: Request, token: Optional[str]):
if not token or not token.startswith("Static-Token "):
logger.debug("No static API-Token was part of the request")
logger.debug("No valid API-Token was provided")
return None
token = token.removeprefix("Static-Token ")

View file

@ -71,7 +71,6 @@ class KeycloakClient:
async with self.http.get(f"./attribute-endpoints-provider/export/{self.keycloak_attribute_group}") as resp:
keys = await resp.json()
assert isinstance(keys, list)
logger.info(f"Successfully fetched {len(keys)} from Keycloak")
self.ssh_keys = keys
self.data_updated.set()
self.data_updated.clear()