Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best Learning Resource for OAuth

I have to use OAuth for my Android client and I have found that the learning resources are pretty rare or inadequate for this technology.

Does anybody know a good book/tutorial/online resource to learn OAuth? Thank you.

like image 909
unj2 Avatar asked Jul 14 '10 15:07

unj2


People also ask

Is OAuth outdated?

To ensure you and your customers have a seamless experience, you'll need to move to OAuth 2.0 before OAuth 1.0a is deprecated. Partner and public apps have until 31 March 2021 to migrate, while existing private apps will continue to be supported until later this year.

Is OAuth difficult?

OAuth and OIDC are complicated, and it takes a lot of time and effort to understand and use them properly without opening yourself up to exploitation. The reason nobody cares about OAuth and OIDC is that OAuth and OIDC aren't what developers are interested in.

Is JWT better than OAuth?

OAuth2 is very flexible. JWT implementation is very easy and does not take long to implement. If your application needs this sort of flexibility, you should go with OAuth2. But if you don't need this use-case scenario, implementing OAuth2 is a waste of time.

What is OAuth for beginners?

OAuth2. 0 is an open authorization protocol, which allows accessing the resources of the resource owner by enabling the client applications on HTTP services such as Facebook, GitHub, etc. It allows sharing of resources stored on one site to another site without using their credentials.


2 Answers

hi Kunjan avoidin the OAuthocalypse???

heres is a excellent example to implement OAuth for Twitter in Android

http://github.com/brione/Brion-Learns-OAuth by Brion Emde

heres the video

if you have any question I will help you

like image 89
Jorgesys Avatar answered Sep 22 '22 03:09

Jorgesys


I see this has more or less been answered, however with recent development in the OAuth spec old tutorials and sample code might or might not work (at least I had difficulties to make it work based on old blog posts here and there). I summarized how I did it on Android here:

http://nilvec.com/implementing-client-side-oauth-on-android/

like image 29
ldx Avatar answered Sep 24 '22 03:09

ldx