I've been searching day and night now for a proper OAuth2 library to use for my android app.
I came across many, including apache amber (formally leeloo) and the android developer specified one (http://developer.android.com/training/id-auth/authenticate.html) which seems to be deceperated.
Yet none of them work or even merge with my project error free (ie. missing methods in jars).
Thus my question is, if there is ANY proper OAuth2 library out there that can be used for android. All I need is a library that allows me to retrieve an authentication code, followed by the token call which will allow autorize requests.
Any links towards an interesting project (git or w/e) are most appreciated.
OAuth2 provides a single value, called an auth token, that represents both the user's identity and the application's authorization to act on the user's behalf.
The most complete library I found is Scribe. I liked it so much that I wrapped it to make it more suitable to asynchronous android interaction. You can check my PostmanLib here. It is supposed to make easier the asynchronous interaction AND the authentication via a webview.
Based on the Oltu (formerly Amber) dev mailing list, it has also been used in Android (at least the client side part).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With