simi / omniauth-facebook

Facebook OAuth2 Strategy for OmniAuth
https://simi.github.io/omniauth-facebook/
1.26k stars 403 forks source link

Cannot override devise action inside omniauth controller #306

Closed modusss closed 5 years ago

modusss commented 6 years ago

Hi,

My problem is that I have facebook login and normal devise login going well until I realized that the facebook user cannot edit their account without typing his password (the standard devise configuration), which it is impossible since you don't have it. For this you need to take control of the hidden action 'update' by yourself and make a customized with the differentiation between the two login's, but I coudn't do it inside the file 'controllers/omniauth_callback_controller.rb'.

I posted this problem on stackoverflow and my code is practically the same as this tutoriual.

yuvi17 commented 5 years ago

@modusss Hey, if the accepted answer from SO solved it, can we close this issue. cc: @simi