cbumgard
Posts: 0
Joined: Wed Dec 07, 2011 5:29 pm

oAuth security context for RESTful login service?

Is there a way to do oAuth as a security context for a REST login service? Specifically to authenticate against a StackMob user account. I like the model for defining REST services and contexts, and would really find this useful.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

oAuth security context for RESTful login service?

Good timing! We are working on exactly this case right now, I'll post an example as soon as possible.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

oAuth security context for RESTful login service?

Just to give an update on this. We have started work on updating our security component to work to support oAuth (currently only support xAuth).

hurricaneditka16
Posts: 0
Joined: Fri Dec 23, 2011 5:11 am

oAuth security context for RESTful login service?

i've been trying to integrate with stackmob with no luck as well. was hoping this script provided by stackmob on their google groups (https://groups.google.com/forum/#!top...) page would help but hasn't.

i hope when tiggr oauth is supported, some kind of tutorial that ties to one of these backend services (stackmob, cocoafish, kinvey, etc) is produced.

about how far away is oauth support?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

oAuth security context for RESTful login service?

Yes, we are building the oAuth service so it will work with all the mobile back end services.

Let us check out the script and see how to make it work in Tiggr before the component is ready.

hurricaneditka16
Posts: 0
Joined: Fri Dec 23, 2011 5:11 am

oAuth security context for RESTful login service?

thanks. well like i mentioned above, i used the script stackmob provided. so i have 2 scripts uploaded into tiggr, i believe they have been in added in the correct order because the stackmob script depends on the jsoauth script.

the very first error in the console is:
Failed to load resource: the server responded with a status of 404 (Not Found)
http://api.mob1.stackmob.com/user

my username is adamacosta16ster, maybe you can check out what i've done.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

oAuth security context for RESTful login service?

Please share your Tiggr app with a href="mailto:support@gotiggr.com" rel="nofollow"support@gotiggr.com/a. From Projects page click Share.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

oAuth security context for RESTful login service?

Thanks..will check it out.

Quick question. Are you sure the service URL is correct? I think it might have to be longer.. if you try the console inside StackMob it will show you the service URL.

hurricaneditka16
Posts: 0
Joined: Fri Dec 23, 2011 5:11 am

oAuth security context for RESTful login service?

i asked erick over at stackmob that question already, waiting for a response. i have been trying different urls in the meantime however.

Return to “Issues”