Getting that glass out is nerve-wracking. Using wood blocks, I held the glass in a vise and caaarreefully pried the frame off.
Order a new set of the rubber gaskets that goes between the window and the glass. Triple-check the angle of the frame to the glass before reinstalling. It is easy to bend and open up the angle when removing. In fact, I’d bend it so it is a little tighter than the glass’ angle. So the ends don’t stick up.
If you don’t you’ll end up taking it all apart again when you realize the now-framed window won’t fit in the door frame. If you’re really impatient you’ll end up doing it 3 times, tearing the rubber on the third time and paying rush shipping for a second replacement set and having to apologize to your wife for being so grumpy at dinner.
And might as well order new pivots too.
But the pivots are riveted on and take a special tool. I ended up welding mine to the frame. Mig welder. No problem. I welded it so that if, in the distant distant future some poor sap (hopefully not me) has to replace it, the welds are easy to grind off with a cutting disk.
With that in mind, perhaps you can weld the top hinge as well??? Not sure. If the experts say it needs to be heliarced then I’d do that. But mig might be worth a shot.