Page 2 of 2

oAuth security context for RESTful login service?

Posted: Fri Dec 23, 2011 11:12 pm
by hurricaneditka16

erick said the service url is correct. my oauth keys will point the request in the right direction.


oAuth security context for RESTful login service?

Posted: Sat Dec 24, 2011 10:00 pm
by hurricaneditka16

oAuth security context for RESTful login service?

Posted: Sat Dec 24, 2011 11:07 pm
by maxkatz

This is great! And you also got it working from Tiggr?


oAuth security context for RESTful login service?

Posted: Sun Dec 25, 2011 3:48 am
by hurricaneditka16

yup, in chrome running on windows 7. also tested in tiggr mobile tester on my sprint evo and worked even though this really doesn't have anything to do with problem :), just wanted to throw that in there.


oAuth security context for RESTful login service?

Posted: Sun Dec 25, 2011 5:11 am
by maxkatz

Very nice!


oAuth security context for RESTful login service?

Posted: Mon Jan 09, 2012 4:00 pm
by Dave Jackson

Hi Max,

I see that Tiggr has a 'Security Context' drop-down in 'REST Service Properties', but the only current option is 'Do not use security context'. I'm not seeing any place to define a context so that it will show up in the list, and this thread was the only mention of oAuth on the support forum. Will the oAuth service/component you mention here be the way we configure authentication in Tiggr?

Thanks,
--
Dave


oAuth security context for RESTful login service?

Posted: Mon Jan 09, 2012 4:58 pm
by maxkatz

You first need to create a security service (xAuth), then it will appear in the REST Service Security Context option. Just note that there is no out-of-the-box support for oAuth yet (only for xAuth). We are working on a component that would support oAuth. Right now it can be achieved with JavaScript.


oAuth security context for RESTful login service?

Posted: Mon Jan 09, 2012 5:15 pm
by Dave Jackson

Thanks for the quick response!

So, how does the JavaScript approach effect service input/output mappings?


oAuth security context for RESTful login service?

Posted: Mon Jan 09, 2012 6:56 pm
by maxkatz

You authenticate from JavaScript, you get a token. Save the token and use it in other services (with mapping) as usual.