Closed (fixed)
Project:
HybridAuth Social Login
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2015 at 08:48 UTC
Updated:
1 Oct 2015 at 11:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
karthikkumarbodu commentedAttaching a patch file with a fix to the notice.
Comment #3
karthikkumarbodu commentedFixed syntax error in line 406 hybrdiauth.module
Comment #4
avni09 commentedVerified.
The Notices are now handled and no longer appear upon login along with DrupalOAuth2 provider.
Comment #5
duozerskKarthik Kumar Bodu,
Thank you for using the module and for the patch. I didn't get why you uploaded it two times, but it's OK :)
We should clearly understand why this notice appears only with this specific provider - the reason behind it is that all the HybridAuth provider implementations should return specific list of fields, and profileURL is one of these fields that is actually not implemented in the DrupalOAuth2 provider implementation. So the proper fix would be to fix the provider implementation in the HybridAuth library so that it returns this profileURL value OR fix the HybridAuth core library so that it checks for the values returned by the specific provider implementation and then adds empty values for the not implemented keys.
Thanks
AndyB
Comment #6
karthikkumarbodu commentedAndy,
Yes got a fix for this issue in DrupalOAuth2 provider library. I am marking this as fixed.
Thanks for your time to review the issue.
Comment #7
duozersk