diff --git a/auth/oauth_callback_server.py b/auth/oauth_callback_server.py index b0bfabb..e8ecc88 100644 --- a/auth/oauth_callback_server.py +++ b/auth/oauth_callback_server.py @@ -131,6 +131,7 @@ class MinimalOAuthServer: except Exception as e: logger.error(f"Minimal OAuth server error: {e}", exc_info=True) + self.is_running = False # Start server in background thread self.server_thread = threading.Thread(target=run_server, daemon=True)