below link is GmailOauth that I used for CakePHP but nowadays whenever there is new project, the generated Client ID and Client Secret no longer work like before. Any part that I need to modify it?
https://code.google.com/p/rspsms/source/browse/trunk/system/plugins/GmailContacts/GmailOath.php?r=11