Any connections you make need to be enclosed either in the fitting or a junction box
You could adapt (new hole or make existing bigger)the fitting to allow entry of the cables, make them off in the housing of the fitting,or you do like suggested and fit a junction box then make the connections in there, with perhaps a 3 core flex out to the existing entry hole of the fitting and into the connectors
These manufacturers make these fittings with scant or no regard for how cables are meant to be terminated.
There are millions of loose connectors hanging around in ceilings all over the land because of this scandal
Don't just shove open connectors into your ceiling