Original Charlie Bar that you have cut cut to length. Prime-Line MP4013-HP Security Bar Lock, 48 in. Long, Aluminum, Painted, Steel Bracket, Non-Handed, Pack of 2, 2 Piece https://www.amazon.com/dp/B0778XZ8NP/ref=cm_sw_r_apan_glt_i_RAVG5C4FHHR1WSRH0FV8
For a large sliding glass door I'd recommend Prime-Line MP4013-HP Security Bar Lock, 48 in. Long, Aluminum, Painted, Steel Bracket, Non-Handed, Pack of 2, 2 Piece https://www.amazon.com/dp/B0778XZ8NP/
Charlie Bar on sliding glass patio doors