views:

232

answers:

2

I have an application configured with authlogic and authlogic_facebook_connect, but every time I click to "Connect" button, my UserSession fails validation, saying "You did not provide any details for authentication"

Isn't the authlogic_facebook_connect supposed to bypass login/password authentication? Am I missing some configuration step?

Any help would be appreciated!

A: 

It appears that it's skipping entirely the session module extensions provided by the authlogic_facebook_connect plugin and instead attempting to authenticate with the original authlogic session.

I have no idea why this is happening.. any ideas on this would be much appreciated.

galactikuh
Check out my answer to http://stackoverflow.com/questions/3489236/facebooker-params-empty/3489505#3489505This at least made it return a facebook session.
galactikuh
A: 

I had this problem, I think my problem was in my call to

<%= authlogic_facebook_login_button :controller => 'account', :js => :jquery %>

note I had to pass in controller. I think this was my solution anyway, hit another problem further down the line now where I'm authenticating OK with facebook, but it's creating a new user on my site every time.

Pauly