Google Error in 2.0.11

156 views
Skip to first unread message

Max Loeb

unread,
Feb 6, 2012, 1:56:31 AM2/6/12
to hybri...@googlegroups.com
Hi there, I just updated to 2.0.11 (from 2.0.8)--which moves google from OpenId to OAuth2--and google no longer works. I get the following error response back from google: 'Missing parameter: response_type". This happens not only in my app, but in the example apps that come bundled with the hybridauth source. Looking forward to a fix...

Nick Yonko

unread,
Feb 8, 2012, 12:27:23 PM2/8/12
to HybridAuth
I ran into this same issue using the library with Drupal - I modified
the OAuth2Client.php file in the thirdparty directory, line 58. It
seems like the 'http_build_query' function doesn't pass the url
properly to Google. I wrapped that line with the Drupal url()
function and the error disappeared. This is obviously is an solution
for everyone...but perhaps it helps lead the way?
Reply all
Reply to author
Forward
0 new messages