They both share similar plot lines. However, In six flying dragons there’s more scheming for the throne and it’s before joseon was established. I think of secret door as a continuation as it is 21kings in, so it’s more about how they can continue to help the commonners and the lower-class of society whilst dealing with opposition from the nobility. They are both great political dramas for me anyways.