How to block out light though a sliding glass door
I would just treat it like a sliding glass door to the outside and hang the blinds of choice or some sort of black out curtain as mentioned above. A more long term solution would be to change from a slider to french doors that have the blinds or louvers built into the window portion of the door.