I\'m using devise 2.0 and gem omniauth-twitter
The problem is that twitter does not send an email in response, so the model user of my application validates that the
Add this to your User model:
def email_required? super && provider.blank? end
You can use an equivalent method for the password:
def password_required? super && provider.blank? end
This should override the field requirements when using Omniauth providers.