Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not working after clearing database #25

Open
pduersteler opened this issue Aug 3, 2010 · 0 comments
Open

not working after clearing database #25

pduersteler opened this issue Aug 3, 2010 · 0 comments

Comments

@pduersteler
Copy link

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 ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant