The Google OAuth 2.0 endpoint supports installed mobile applications that are distributed to individual devices.
Android or iOS
If you are writing a mobile app for Android or iOS, use Google+ Sign-In to authenticate your users. The Google+ Sign-In button manages the OAuth 2.0 flow both for authentication and for obtaining authorization to Google APIs. Google+ Sign-In works for all users with a Google account, whether or not they have upgraded to Google+. To add the Google+ Sign-In button, follow the steps for Android or iOS.
If you are writing an installed app for a platform other than Android or iOS:
- If your app will run on devices that do not have access to a system browser, or devices with limited input capabilities (for example if your app will run on game consoles, video cameras, or printers), then see Using OAuth 2.0 for Devices.
- If your app will run on devices that have a system browser and rich input capabilities, for example devices with full keyboards, then see Using OAuth 2.0 for Installed Applications.