Affected Version: All version starting from 2.13
What steps will reproduce the problem?
1. Configure oauth-provider plugin to work with GitHub on 2.13
2. Upgrade to 2.13
2. Try to login
What is the expected output?
What do you see instead?
Please provide any additional information below.
There is a regression in OAuth extension point,
that makes the assumption that all OAuth providers
always expose EMail address. This might not be the
case or even a user can decide in her profile if she
would like to expose EMail or not.