I'm not sure if this belongs to devise_facebook_connectable or if it is a problem of my coding but I think i mention it here. I followed the guide here to set up facebook connect and it works wonderful, the tutorial is great.
After I did a db:reset, logging in with facebook is not working anymore with my facebook account. I tried deleting the app relation ("allow this app to ... with your account?") in my facebook account, but this also hadn't helped. Every time i press the "connect with facebook" button, i get redirected to my default login page for users w/o facebook. This is because the requested user isn't found locally.
Processing SessionsController#create (for 127.0.0.1 at 2010-08-03 15:09:10) [POST]
Parameters: {"action"=>"create", "authenticity_token"=>"0df/gzXCuKZMIdYwZpbF57ciC0fz+9Lj4zn83HZ6+m4=", "controller"=>"sessions"}
User Columns (4.2ms) SHOW FIELDS FROM users
User Load (14.0ms) SELECT * FROM users WHERE (users.facebook_uid = 1217347545) LIMIT 1
Rendering template within layouts/application
Rendering sessions/new
Rendered shared/_devise_links (18.8ms)
Completed in 257ms (View: 119, DB: 19) | 200 OK [http://localhost/users/sign_in]
I think it would be good if someone could also cover this in the docs. If someone can point me to a solution, I would write the docs update. But I currently don't understand everything that's going on here with devise and fb connect things, so I would appreciate a little bit help ;-)
I'm not sure if this belongs to devise_facebook_connectable or if it is a problem of my coding but I think i mention it here. I followed the guide here to set up facebook connect and it works wonderful, the tutorial is great.
After I did a db:reset, logging in with facebook is not working anymore with my facebook account. I tried deleting the app relation ("allow this app to ... with your account?") in my facebook account, but this also hadn't helped. Every time i press the "connect with facebook" button, i get redirected to my default login page for users w/o facebook. This is because the requested user isn't found locally.
Processing SessionsController#create (for 127.0.0.1 at 2010-08-03 15:09:10) [POST] Parameters: {"action"=>"create", "authenticity_token"=>"0df/gzXCuKZMIdYwZpbF57ciC0fz+9Lj4zn83HZ6+m4=", "controller"=>"sessions"} User Columns (4.2ms) SHOW FIELDS FROM
users
User Load (14.0ms) SELECT * FROMusers
WHERE (users
.facebook_uid
= 1217347545) LIMIT 1 Rendering template within layouts/application Rendering sessions/new Rendered shared/_devise_links (18.8ms) Completed in 257ms (View: 119, DB: 19) | 200 OK [http://localhost/users/sign_in]I think it would be good if someone could also cover this in the docs. If someone can point me to a solution, I would write the docs update. But I currently don't understand everything that's going on here with devise and fb connect things, so I would appreciate a little bit help ;-)