    def wait_indefinitely_for_code(self) -> Optional[str]:
        """
        Wait indefinitely for ther server to callback from token provider.
        """
        while self._code is None:
            self.handle_request()
        return self.get_code()
Wait indefinitely for ther server to callback from token provider.
src/bentoml_cli/auth_server.py