[Plugin: BC oAuth] Google login reports incorrect identity
While setting up Google authentication, I noticed that Google was incorrectly reporting the site’s identity as “bettercodes.org”.
I was able to fix this by updating /Classes/Google.php on line 63, from this:
'xoauth_displayname' => 'bettercodes.org',
'xoauth_displayname' => $_SERVER['HTTP_HOST'],
You might also consider adding an extra plugin setting at the top for “Site Identity”… in the event site admins want or need to enter custom values.
BTW, I absolutely LOVE how clean the plugin is. Truly, your code is art. 🙂
- The topic ‘[Plugin: BC oAuth] Google login reports incorrect identity’ is closed to new replies.