I've got the same issue. Working from Arduino core with WiFiManager.h, can't handle to connect using ESP IDF and the protocol_examples_common.h
Have you ever solved this issue?