Closed (fixed)
Project:
oauth_services
Component:
User interface
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
26 Jun 2008 at 06:25 UTC
Updated:
13 Dec 2008 at 16:52 UTC
Jump to comment: Most recent file
Hey Sumit,
Thanks for walking me through your latest changes. I'm very pleased with where you're at at this point in the summer and excited about what you're going to accomplish.
I've made a list of things I'd like to see done but divided it into two sections, the important stuff that should happen quickly and other stuff that would be cool.
Important
oauth_token=GvvyMHuG5dR4w3wJsieCGUGTfSx6aH3D&oauth_token_secret=DKLnywksN6egoERKavfkF7bnZwyQFQd2
Executed 11 queries in 1.93 milliseconds.
...Hide all the debugging info and make it easier for me to pick out the important return values.
Cool stuff
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | oauth + services 05_07_08.tar_.gz | 33.43 KB | sumitk |
| #12 | oauth+services_04_07_2008_release_revised.tar_.gz | 33.42 KB | sumitk |
| #9 | services_01_07_08.tar_.gz | 18.94 KB | sumitk |
| #9 | oauth_01_07_08.tar_.gz | 14.07 KB | sumitk |
| #6 | services_29_06+08.tar_.gz | 18.94 KB | sumitk |
Comments
Comment #1
sumitk commentedHey Drewish
thanks for such a detailed analysis of my work :)
here are things which are fixed and rest I will work out very soon
IMPORTANT
COOL STUFF :: WHOLE DONE HURRAY
TEST SERVER :: http://tut2tech.com/sb2/?q=admin/build/oauth
contact me in case of a doubt in producing tokens
complete documentation for these modules I will post very soon
cheers!!
sumit kataria
www.sumitk.net
pec.sumit@gmail.com
Comment #2
sumitk commentedtest server is here http://tut2tech.com/sb2/?q=admin/build/oauth
Comment #3
sumitk commentedOnly *PLAIN TEXT* signature method is supported by library right now
that I will fix very soon then we can use other two methods
as well for producing tokens and making calls to drupal
Just for information
EndPoints of OAuth calls ::
For server www.example.com endpoints are :- Request token : http://www.example.com/?q=oauth/request
- Authentication Call with tokens : http://www.example.com/?q=oauth/auth
- Access token : http://www.example.com/?q=oauth/access
Comment #4
robloachI'll have a look at the updates sometime soon.
Comment #5
drewish commentedoauth_token=SpTHJTiXVQ6WPf22hHZXYrx2RmoDosTa&oauth_token_secret=LLGpcB5hPMeqVnyMt8SET8ApsrtLYwQt). Please break that up into separate values. Even better would be to parse those out and use them as the defaults for the next form.HMAC-SHA1orRSA-SHA1doesn't work, add a note or disable them. There's nothing worse than displaying an option that doesn't do anything.Comment #6
sumitk commentedChanges after suggestions ::
1. Request token and secret are now are now broken in 2 variables and shown separately :)
2. Every thing in form is now auto filled just press buttons ==>> Your are driven through it to ServicesAPI test browser to make test calls with produced tokens
3. Those methods I will fix in 1-2 days just hold please :)
4. Yes that I will make soon say done in next week
5. Validation of fields done - right now just checking for empty fields .
Producing tokens through this form is now a pleasurable experience as no copy/pasting of tokens is required :D
cheers!!
sumit
www.sumitk.net
// Latest module packages attached \\ Please use them if you wanna make tests OR make commit to Services module
Comment #7
sumitk commentedyou can always test code here
http://tut2tech.com/sb2/?q=admin/build/oauth
code updated on this test server
Comment #8
robloachCan we get a patch for the Services module?
Comment #9
sumitk commentedyAy all 3 signature methods supported now
it was a bug in library now removed :)
took a lot of time and research (tries++)
I am attaching latest code + making commit to cvs oauth
Rob I tried making services patch but it is not working somehow
I will be happy if you can make a patch out of this newer copy of Services module (it supports all previous things + OAuth support )
thanks
Comment #10
drewish commentedI'm changing the title to be sort of generic. Unlike comments in forum posts setting the comment title on a project issue changes the node's title.
Comment #11
drewish commentedI'm working my way through sumit's test server.
One thing I noticed is that the request URL is filled in for me. That's a nice, touch. It would be good if it filled in the consumer key and secret as well. It should also probably do a drupal_set_message() informing the user that the form has been pre-filled with the information to connect to their local server.
I think it would be also be helpful to put the values listed on the /user/%uid page in the same order as they're asked for in the form on admin/build/oauth. Moving the consumer key/secret to the top of the user profile information would do it.
Is there a reason the "Select Signature Method" doesn't have a default value? If not please set one.
When trying to submit the admin/build/oauth form will all the field filled I got the following error:
Perhaps the validation needs a little more work?
I also couldn't get my token request to finish.
Comment #12
sumitk commentedthings fixed -
Now there is a default method in select signature method
there was an error in validation that is fixed as well
I didn't why you not getting an access token .. because it works fine with me .. it is providing me token each time I make a request
Also for /user/%uid page I am thinking about a TAB showing all user access tokens - also giving rights to user to revoke any particular token from the list of access tokens
Will be done soon I will keep you on informed
Comment #13
sumitk commenteda bit more fixed code
Comment #14
sumitk commentedHi all
now I have added 2 more features to oauth module
1. Now a website which makes token requests to Server have to register their domain first at Server otherwise it asks them to go to proper URL first to register their website
(Google also uses this feature in their OAuth implementation to DATA APIs)
2. Also on account page now at user/%user/oauth there is a tab where a user can see all OAuth access tokens registered with different domains and such he/she can revoke/delete a token to stop access of Consumer to server
Will upload code in a few hrs. after fixing one thing
cheers!!
sumit kataria
www.sumitk.net
Comment #15
sumitk commented