After the "The application has been autorized" will appear but you will also get another error message after that
Notice: Undefined index: oauthconnector_request_key in oauth2_common_page_authorized() (line 14 of /xxxxxxxxxxxxxxxxxxxx/oauthconnector/modules/oauth2/oauth2_common.pages.inc).
Comments
Comment #1
tiago.urbano commentedHi,
I was with the same issue, I was thinking the problem was in OAuth Connector module, and I resolved it inserting 2 lines in HttpClientCurlDelegate.inc inside http_client module.
Go to public function curl and insert the lines bellow, above the curl_setopt_array($ch, $curlopts)
curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);
I believe there is a better solution than mine, if you find, pease let me know!
Thanks
Comment #2
tiago.urbano commentedI create a patch, where you can enable or disable SSL Verification
Comment #3
tiago.urbano commentedI create a patch, where you can enable or disable SSL Verification
Comment #4
tiago.urbano commentedI create a patch, where you can enable or disable SSL Verification
Comment #5
voxpelli commentedSorry, but disabling the checks in the way that you are is not a good idea - it exposes your site to security risks it shouldn't be exposed to.
Check this post for more info: http://hueniverse.com/2010/09/oauth-bearer-tokens-are-a-terrible-idea/
Comment #6
Techbot commentedI have a sneaking suspicion that this module does not work at all, since the move to oauth2 (and drupal 7). Regardless of whether ssl is turned off (bad idea) or not.
My colleague and I have been though the code with the various suggestions and have made no progress whatsoever.
Is there any others out there who have made this work ?(preferably without turning off ssl- though that would be a start)
Comment #7
Bojhan commentedThis seems like a bit of an odd work around. I am able to use the module just fine, but do still get this error.