Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Proper android Oauth2 library / framework [closed]

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.

like image 275
Gooey Avatar asked Mar 23 '13 22:03

Gooey


People also ask

What is OAuth2 in Android?

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.


2 Answers

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.

like image 133
fedepaol Avatar answered Sep 24 '22 19:09

fedepaol


Based on the Oltu (formerly Amber) dev mailing list, it has also been used in Android (at least the client side part).

like image 33
Antonio Sanso Avatar answered Sep 22 '22 19:09

Antonio Sanso