Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm trying to implement the script shown here: http://hybridauth.sourceforge.net/userguide/Integrating_HybridAuth_SignIn.html To allow people to sign in with Google to my site. However I am getting 302 moved, or "headers already started" errors. I suspect it has something to do with paths; whereas the hybridauth code is in my theme folder (thats the only way I can include it, or am I wrong?) the callback API can't access /wp-content/themes and so on. Does anyone have any advice on these and what to do?

share|improve this question

1 Answer 1

You could use a plugin I believe? In that case, you can try WordPress Social Login which is based on the HybridAuth Library (which you already seem to be using) and Social Connect plugin.

As of now, the plugin supports some 20 services including Facebook, Google, Yahoo, Twitter, Windows Live, Foursquare, Linkedin, and Tumblr, among others.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.