Rotating a mesh to be flush with the actor who's socket it is attached to.

Hey all. I am working on developing a street tool.

Street intersection actors have sockets on their meshes that incoming streets can attach to.

Snapping/attaching points from the street spline to the intersection functions, however, the mesh of the attached street does not sit flush to the intersection actor:

How can I edit the BP for the street such that the spline point is rotatet to make the mesh flush with the socket/intersection actor? What would be some approaches to accomplish this?

I tried to do something similar years ago, you should set the last/first spline point location to the socket and use the socket orientation to determine the point tangent.
It might require several attempts to get it right but it’s feasible.