A. Adjust the angle of the passport and the lighting in the room to minimize glare. Try to avoid direct light sources that reflect off the passport.
B. Use a matte screen protector on your phone to reduce glare when scanning, or try scanning in a shaded area.