I'm using devise
This is what I'm doing
gem 'omniauth-github', '~> 1.1.2'
config.omniauth :github, 'ID', 'Secret key'
devise :database_authenticatable, :registerable, :confirmable,
:recoverable, :rememberable, :trackable, :validatable,
:omniauthable, :omniauth_providers => [:github]
where(provider: auth.provider, uid: auth.id).first_or_create do
user.provider = auth.provider
user.uid = auth.uid
user.email = auth.info.email
user.password = Devise.friendly_token[0,20]
Whenever I do http://localhost/login it shows me following error message 
Where I'm making mistake, please correct me.
 : http://awesomescreenshot.com/0d9492h900
Deepak Kumar Sharma
" Mistakes are proof that you are trying "
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To post to this group, send email to firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CALDHwN6qgaB1-mDMfGNo_g1GfsUHRW9BJm8g-7fBHi7hEyAWTA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.