When trying to light a person the main source you use is called the key light. It is set on the long side of the face and is the main illuminator for that subject. What you are always looking for is the reflection, or glimmer, of that light in the person’s eyes. That makes them look more alive and energetic. When a subject is wearing glasses this must be sacrificed because the location of that eye reflection would create a glare that would block out the view of the eye all together. Instead, what you need to do is take the key light source and bring it completely above the subject’s head. Then you bring it one or two feet closer than you would position it normally.
This will give them the light they need to have color contrast on the subject’s face, but it will not show up in the glasses. This might end up making the subject a little bright and over exposed, so it would be advisable to lower the aperture so that the image is slightly darker. If the image is significantly too bright after this light repositions then try putting a ND filter on. Sunglasses are even more difficult, and you would have to bring the light even closer and raised several feet above their head. If you do this it is next to impossible to get the light even on their face, so you should always try to convince the subject to take off their sunglasses.