Question about John Ford’s Cavalry Trilogy

Are Fort Apache and Rio Grande definitely canon with each other?