Created by: Liz Wendland on 09-01-2013 10:54:21 AM Hi, Is anyone using XAuth to be able to authenicate and use the REST APIs? The documentation for this is pretty sparse and there aren't any examples. I have tried using some libraries written for things such as Twitter XAuth but always get an error connecting to WebExSocial. I assume I am not signing things quite right but have no idea why. My server logs don't give any information on what is failing.
One thing to note, since you will be using XAuth, you would need to make some custom code for the step of retrieving the access token. Follow the Quad API Documentation for that
Jon
Subject: RE: Xauth Examples Replied by: Liz Wendland on 09-01-2013 01:03:25 PM Hi Jon, Ah, that looks promising I will try it out. Have you used scribe to access the WebExSocial API? I've been able to get the libs I've used to work with other services, just not with my WebExSocial Developer Edition so I am afraid it is one of the special steps in the Documentation that I am messing up. Anyway, I'll let you know how it goes. Thanks for the reply! liz
Subject: RE: Xauth Examples Replied by: Jonathan Kaufman on 09-01-2013 02:04:32 PM I am indeed using scribe right now to access the Webex Social APIs. I found it simple to use for the oauth steps and http requests / responses.
Good luck!
Subject: RE: Xauth Examples Replied by: Liz Wendland on 10-01-2013 09:50:28 AM Ah, maybe I did not ask my question carefully enough. Have you ever used XAUTH to access the WebExSocial services? I am able to get OAuth to work as in the example Open Social examples. But the particulars of the XAUTH process aren't working. It doesn't look like any of the scribe examples are using XAUTH either. They all seem to follow the OAUTH process of having human interaction of verification. I am just curious if XAuth even works in the current WebExSocial Developer version - Thanks! Liz
Subject: RE: Xauth Examples Replied by: Jonathan Kaufman on 10-01-2013 10:29:12 AM Yes I have been heavily using XAUTH on 2.5 and 3.0.
XAuth will return to you an access token.
To get things to work well with scribe, you would need to implement a method which performs the XAuth step mentioned in the WebEx Social API documentation and converts the token data returned to scribes access token object (org.scribe.model.Token)
example: If you implemented a method called getQuadAccessToken() which performs the xAuth and returns the org.scribe.model.Token object, a scribe interaction could look like this.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: