AlexanderZaytsev / domp

Devise & Omniauth Multiple Providers
MIT License
106 stars 15 forks source link

undefined method `user_authentications' for nil:NilClass for Github provider #17

Open ishouvik opened 9 years ago

ishouvik commented 9 years ago

While using Github as a provider the callback url returns the following error message

undefined method 'user_authentications' for nil:NilClass for the line authentication = provider.user_authentications.where(uid: auth_params.uid).first on OmniauthCallbacksController

AlexanderZaytsev commented 9 years ago

Have you created an AuthenticationProvider with the name of github?