glyphosate dehydrogenase activity
Catalysis of the reaction: glyphosate + OH- = glyoxylate + aminomethylphosphonic acid + H+ + 2 e-.