I followed http://googlemac.blogspot.com/2011/05/ios-and-mac-sign-in-controllers.html to allow users to use Google to login to an iPhone app. After I tap \"Allow access\" bu
while creating Client ID , Choose web Application instead of installed application , this will solve your problem .
happy coding :)