I'm using twitter + devise + omniauth + omniauth-twitter
to autheticate users via twitter api. From my site I reach, twitter login. I give my twitter credentials. After that I'm redirected to callback url. But the response says the authetication failed. Is there a way I can identify the reason for authetication failure.
If the authetication is successful, I'll have the information in request.env['omniauth.auth']
. What about when the authetication fails? Is there any similar variable available?