Is this the correct way for only allowing logins via Devise + Omniauth in Rails 4? -
i wanted allow users signup + login rails app via omniauth only, no email / password sign / login should allowed looked at answer, didn't work. ended generating customized views registrations , sessions , commenting out email/password fields in login + signup forms.
then in config/initializers/devise.rb set:
config.params_authenticatable = false is best way it?
i believe there isn't "clean" way this, because devise complete solution. please take here: using omniauth (twitter) sign-in devise, rails 3, omniauth
imo, if need oauth authentication, maybe devise this. railscast may well: simple omniauth
Comments
Post a Comment