Using Facebook Connect with Authlogic

2019-03-29 06:44发布

问题:

I am trying to make Authlogic and Facebook Connect (using Facebook) play nice so that you can create an account either the normal registration way or with Facebook connect. I have been able to get the connect to work one way but logging out only loggs out on facebook and not on my site, I have to delete the cookies to make it working. Any help would be awesome, thank you!

回答1:

Here's an example app I made using the Facebook Connect extension, authlogic and Open ID. It still needs some work, but it does function.

http://big-glow-mama.heroku.com/

http://github.com/holden/authlogic_openid_selector_example/tree/with-facebook/



回答2:

This is a good gem for that. http://github.com/viatropos/authlogic-connect



回答3:

Have you tried the Facebook Connect extension for AuthLogic?



回答4:

just tried omniauth with authlogic, that works like a charm btw, authlogic-connect is out-dated

You also have an example app to check (Authlogic + Omniauth) http://omniauth-authlogic-demo.heroku.com/