pub fn build_router_with_auth(
state: AppState,
server_config: &ServerConfig,
authenticator: Option<OidcAuthenticator>,
) -> Routerpub fn build_router_with_auth(
state: AppState,
server_config: &ServerConfig,
authenticator: Option<OidcAuthenticator>,
) -> Router