The new set of Google APIs can be used on Android with the client library and can be authenticated using
- OAuth1.0
- OAuth 2.0
- Client Authentication (Android).
Can someone show me an example of client authentication using a class GoogleAccountManager? I can’t make it work.
Also, when I use OAuth2.0 and use a redirect URL, for example buzz-sample:///, and add an intent filter to the manifest as
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="buzz-sample" />
</intent-filter>
It throws an error in the browser invalid-request: Invalid parameter Value for redirect_uri: Missing authority: buzz-sample: ///
Error 400
Any help would be appreciated.
source
share