WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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


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.