I need to implement authentication for the project I am working on. But I can't make the choice: to use OpenId or not. The main question for me is how to retrieve user's email (it is critical for sending notifications) if user has logged in by OpenId. Of course, most OpenId providers return this information but I can't trust them (as anybody can set up an OpenId provider).
The ways I currently see are: 1. Support only OpenId providers that always return user email and to whom I can trust (it would be awkward to activate email in OpenId authentication scenario). 2. Forget about OpenId and use classical authentication.
What do you think?