There is no such thing as 'force' in modern, quantum-mechanics, approach.
In naive Newton's mechanistic model of light you may treat photon as a snooker ball, but not at the flat table, but rather on the one with one half lifted a bit comparing to other, so the photon receives impulse perpendicular to the refractive surface as crossing it.