Do you have any documentation on how to configure/use the Oauth Login Provider. Presently I'm getting empty xml at /oauthlogin/api/user/info. An example client configuration would be perfect.
Does Oauth only work for REST servers?
error log:
Type php
Date Monday, April 9, 2012 - 19:37
User admin1
Location http://www.services_3_1.com/admin/structure/services/list/oauthlogin
Referrer http://www.services_3_1.com/admin/structure/services/list/oauthlogin
Message Notice: Undefined property: stdClass::$debug in services_ctools_export_ui_form() (line 112 of C:\vhosts\Drupal\services_3_1\sites\all\modules\services\plugins\export_ui\services_ctools_export_ui.inc).
Severity notice
Hostname 127.0.0.1
Operations
Comments
Comment #1
sbehun commentedI'm experiencing the same problem, did anyone ever figure this out? Here is what my oauthlogin/api/user/info page returns:
Comment #2
jlyon commentedAfter watching the video from the Services session at Drupalcon Denver, it sounds like services supports this pretty much out of the box with a little configuration. I haven't tried it, but the steps at http://drupal.org/node/942866 should do it. For step 3, you could use the oauthconnector module.
Comment #3
sbehun commentedyeah, I am at the part where it says:
I cannot for the life of me figure out how to get the user data on the client end after the oauth handshake is complete. What do I POST to this url... do I post? Do I use
/oauthlogin/api/user/info?username=adminIt is just unclear how to query for that data as the client once I have been authorized to have it.
Comment #4
matt2000 commentedClosing 2 year old ticket.
If anyone is still trying to get this working, try the patch in https://drupal.org/node/1789940 and then revert your service.
You'll need to change your path to 'oauthlogin/api/login/info' - or edit the service to manually set the alias to 'user' which may or may not work. YMMV.