DEV Community

Discussion on: Creating and updating users with omniauth

Collapse
 
rodreegez profile image
Adam Rogers

Absolutely. If your app supports logging into a single account from multiple providers you’re gonna have a bad time using this implementation.

Collapse
 
oyenmwen profile image
Osayimwen Odia

a possible workaround could be:

unless user.password.present?
    user.password = Devise.friendly_token[0, 20]
end
Enter fullscreen mode Exit fullscreen mode