Closed (fixed)
Project:
Services
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
5 Aug 2008 at 19:41 UTC
Updated:
18 May 2009 at 02:14 UTC
Jump to comment: Most recent file
Sumit Kataria is a Google of Code student working on implementing a OAuth Server for the Services module. For some information about what he's working on and how OAuth works, visit OAuth General Information.
He has done a fantastic job so far in integrating OAuth into Drupal and needs to make some small modifications to Services core. He will create patches and upload them here, if you think they are good, feel free to give him commit access.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | services.patch | 8.88 KB | sumitk |
| #2 | services+oauth_08_08_08.tar_.gz | 40.76 KB | sumitk |
Comments
Comment #1
sumitk commentedpatch coming very soon for services to work with OAuth -
OAuth module is to work with Services only, you can checkout a copy from CVS to make a test
Comment #2
sumitk commentedHi all
OAuth and Services (to work with OAuth) are now ready for a release
I am attaching a tar containing both modules here
Comment #3
robloachMind sticking it in a patch?
Comment #4
sumitk commentedHi
here is patch for services to work with OAuth module
Please download latest oauth module from cvs to work with - a video coming soon showing how to use this module in detail
Basic details of OAuth module is on http://sumitk.net and soc-2008 project wiki page
Comment #5
sumitk commentedHI guys
summer of code is ending we need to review this patch for services - to work with OAuth system and oauth module in drupal
Comment #6
marcingy commentedHi Sumit
I have just done a quick review of your patch.
By my understanding the idea is that a service uses the existing API keys or the Oauth keys. As a result selecting to use Oauth should be implemented as a radio button, with the other option being the key api, rather than a checkbox.
What version of code was this patch generated against? It looks as if the patch was done on code retrieved from 6 head but then the patch itself was generated against the current release version of services.
The functions check_nonce and lookup_nonce code be tidied up. They could indeed be combined into one function e.g
Also shouldn't nonce be included in DB query as there could be muiltiple timestamps the same?
Your code also has tabs within in it when it should be spaces and there are some other style errors in the code. Using the coder module will help you quickly correct style errors.
Otherwise looks good
Marc
Comment #7
brmassa commentedGuys,
i will mantain the OAuth discussion on http://drupal.org/node/238814, right?
regards,
massa
Comment #8
sumitk commentednice #238814 is right place for it now
Comment #9
marcingy commentedComment #10
marcingy commentedAs seperate ticket exists