Module, Plugin

Developer
Supported

Rest

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Phil Sturgeon

     

You must be logged in to post.

oAuth

General

Philip
Philip

Any chance of oAuth support being added? please?

Adam Stoddard
# 1
Adam Stoddard

I just bought this module and was all kinds of excited about it, until I saw this thread that is.  Now I feel like a kid who just dropped their ice cream on the ground.  In hindsight, I probably should have paid better attention to the words “open RESTful API” in the description, but I’ll second the motion.  oAuth support would be very useful.

philsturgeon
# 2
Developer
philsturgeon

Sorry for the delay on the answer guys. I am working on OAuth 1 and 2 support for this module leveraging code from my PyroCMS Social module:

www.pyrocms.com/store/details/social_integration

See it in action here:

http://philsturgeon.co.uk/blog/2011/12/pyrocms-gets-social

I plan to allow the REST controller to have tokens authenticated with a request, so that calls can be made to private systems. It’ll take a while to do, but at least I’m starting :)

timmo26
# 3
timmo26

Phil any update on a possible ETA for v2.0 of the Rest module (which I assume will include oAuth and Basic Auth)?

philsturgeon
# 4
Developer
philsturgeon

Each time I try sitting down to hash out how this would work I get pestered by pesky clients wanting me to do some more work. This is a big, complicated task which I am not sure I have the time for.

Adding oAuth, and of course oAuth 2 will open up a lot more usage, but really this is outside of the scope of this add-on. Things like facebook work really easily if you have a facebook token (its just a a parameter) but that is not what this addon is up to, this is about parsing content from external sources to use it on your own site.

I could probably port my Social module across from PyroCMS, but that would be another addon which would be charged for separately.

timmo26
# 5
timmo26

If it gives oAuth and Basic Auth then I for one am happy to pay for that module.

Colton Brugger
# 6
Colton Brugger
timmo26 - 20 June 2012 12:12 PM

If it gives oAuth and Basic Auth then I for one am happy to pay for that module.

Likewise, I’ll pay for several licenses of this add-on if it adds basic/token authentication soon.

philsturgeon
# 7
Developer
philsturgeon

HTTP Basic Auth will already work, you just put the username and password in like this:

http://username:password@foo.com/bar/baz.json

timmo26
# 8
timmo26

HTTP Basic Auth will already work, you just put the username and password…

HTTP Basic Auth using that method didn’t work for me.  Sad face.

http://devot-ee.com/add-ons/support/rest/viewthread/4504