Google+ Over-The-Air installs with oAuth 2.0 protocol

203 Views Asked by At

Here (https://developers.google.com/+/web/signin/android-app-installs) is described how to make over-the-air Android installs using HTML button.

I wonder how to do the same using oAuth 2.0 flow (the docs --https://developers.google.com/accounts/docs/OAuth2UserAgent -- doesn't provide information about it).

Which additional parameter(s) I have to add to endpoint request (https://accounts.google.com/o/oauth2/auth?) to make it show over-the-air-install dialog?

1

There are 1 best solutions below

0
On

The feature is only available through the Google+ Sign-In client-side button, which handles the creation of the OAuth flow. You can use the JavaScript gapi.signin.render() method to create a custom button if you prefer not to use the standard Google+ Sign-In button. However, the feature is not accessible in any other way such as a server-side OAuth flow.