03-18-2016 18:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-18-2016 18:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Has anyone been able to get FITBIT authentication working using Google's updated oauth-client library? They just took out HttpClient in Marshmallow so the solution posted https://community.fitbit.com/t5/Web-API/Android-oauth-2-httpUrlConnection/td-p/1093923 won't work with the new OS version won't work anymore.
It's been somewhat replaced by NetHttpTransport which is described here: https://developers.google.com/api-client-library/java/google-oauth-java-client/oauth2#servlet_author... but NetHttpTransport can't include all the header information I need to make an OAuth2 connection.
Here are the dependencies I'm using, if you have ideas for other Jars I'd like to try them:
compile files('libs/google-http-client-android-1.21.0.jar')
compile files('libs/gson-2.1.jar')
compile files('libs/jackson-core-2.1.3.jar')
compile files('libs/jackson-core-asl-1.9.11.jar')
compile files('libs/jsr305-1.3.9.jar')
compile files('libs/protobuf-java-2.4.1.jar')
compile files('libs/google-oauth-client-1.21.0.jar')
compile files('libs/google-http-client-1.21.0.jar')
05-10-2016 12:58
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-10-2016 12:58
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hello,
Does anyone have any wisdom on this? Much of the information available by search involves older android version and/or the old OAuth.

