CodeIgniter Forums
Tank Auth with Goole Friend Connect (also with Twitter authentication & Facebook Connect) - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: Tank Auth with Goole Friend Connect (also with Twitter authentication & Facebook Connect) (/showthread.php?tid=40294)



Tank Auth with Goole Friend Connect (also with Twitter authentication & Facebook Connect) - El Forum - 04-05-2011

[eluser]ericbae[/eluser]
I posted my extensions to Tank Auth with Facebook Connect (http://ellislab.com/forums/viewthread/184271/) and Twitter oAuth (http://ellislab.com/forums/viewthread/185426/).

Well, now this has ben integrated with Google Friend Connect. Smile

The project is available at GitHub

https://github.com/ericbae/Tank-Auth---3rd-Party-Authentication-Project

And the demo application is available at "http://www.naturish.com".

There is an instruction on the GitHub WIKI, so hopefully it is easy enough to get you started. Please note that I tried to keep the application as minimal and basic as possible.

Hope you guys enjoy!


Tank Auth with Goole Friend Connect (also with Twitter authentication & Facebook Connect) - El Forum - 04-09-2011

[eluser]andjules[/eluser]
First off: THANK YOU

Ok, on to the question: I don't really care to have Google Friend Connect as a feature. To disable it, do I:
a) don't add anything to config
b) remove head js items/script - including onData function - from login_form.php and login_form2.php
c) ANYTHING ELSE?


Tank Auth with Goole Friend Connect (also with Twitter authentication & Facebook Connect) - El Forum - 04-10-2011

[eluser]ericbae[/eluser]
no worries! Smile

I think you are on the right track. Actually, login_form2.php is redundant. I have no idea how that got crept into the GitHub, it was just a test page I created. I'll remove that soon! You just have to worry about login_form.php.

There is also a "div" container that holds the google connect button. You should get rid of that too!


Tank Auth with Goole Friend Connect (also with Twitter authentication & Facebook Connect) - El Forum - 04-24-2011

[eluser]Devon Lambert[/eluser]
Hey Eric,

Not sure if you've run into this, but with both your library, and Elliot Haughins Facebook Connect library I am experience redirect issues in Chrome whenever I authenticate using an FB:login-button. Checking around the console I discovered that it was screaming at me because of an unsafe Javascript attempt to connect to one secure url from my site's non - secure url.

This seems like it would be a common scenario that many developers would run into, since you are not usually coming from a secure url until you've logged into a secure area of a site?

However, you never mention this in your tests. Basically this stops the authentication from occurring until I manually close the FB iframe and reload the page?

Any ideas?