Omniauth, facebook on ruby 1.9.2 and rails 3.0.0

Hi,

I try to use omniauth to authenticate with facebook account, as in Ryan
Bates tutorial http://railscasts.com/episodes/235-omniauth-part-1.
I have followed all steps in that tutorial.
When point my browser to http://localhost:3000/auth/facebook it indeed
redirects me to facebook to login. But on callback, instead of being
redirected to my url, I receive this error http://pastie.org/1588879

Can somebody help me please?

Eugen C. wrote in post #982896:

I try to use omniauth to authenticate with facebook account, as in Ryan
Bates tutorial http://railscasts.com/episodes/235-omniauth-part-1.
I have followed all steps in that tutorial.
When point my browser to http://localhost:3000/auth/facebook it indeed
redirects me to facebook to login. But on callback, instead of being
redirected to my url, I receive this error http://pastie.org/1588879

Were you able to successfully generate your access token for
authorization to use OAuth2 with FaceBook? I need to ask since you
didn’t mention that here.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs