Ideas for working with an OAuth 2.0 service?

100 views
Skip to first unread message

Dan

unread,
Apr 13, 2012, 5:51:53 PM4/13/12
to jsOAuth
I've been using jsOAuth for Titanium Mobile projects that access
Twitter. Thanks for the library.

Now, I need to access an OAuth 2.0 (current draft = 22) -based host
service from a Titanium Mobile app.

The host service is written using https://github.com/socialcast/devise_oauth2_providable
and supports two grant flows: Resource Owner Password Credentials
grant flow and the Authorization Code grant flow.

Is there support for OAuth 2.0 in the jsOAuth 2.0 branch? If I were to
work on this, would that be the branch to start from? Are there any
other javascript libraries that you've used for OAuth 2.0?

Thanks for any info,
-Dan

Rob Griffiths

unread,
Apr 14, 2012, 3:54:25 AM4/14/12
to jso...@googlegroups.com
Hi Dan,

Glad you like the library.

The 2.0 Branch is the one where I had intended to start adding OAuth 2.0. Sadly the state of jsOAuth 2.0 branch is terrible right now as I'd been experimenting with different build steps and minification utilities, also only the new style OAuth Request adapter works at the moment.

I'll try have a look this weekend if I have time, see if I can clean up the code a little bit, that may make it easier to start adding the 2.0 support.

As far as I'm aware there are no javascript OAuth 2.0 libraries, but I could be wrong.

Rob
-- 
Rob Griffiths
Sent with Sparrow

Reply all
Reply to author
Forward
0 new messages