On 21/08/12 09:54, mayankeagle wrote:
I got the authorization to work. However, now I'm getting an error in the
authorize decision part.
After my data provider's finalizeAuthorization () method is invoked, I get
an OAuthServiceException on the server and an "Error in authorizing"
response at the client side. Is this because I don't have a call-back URI
and have currently set it to 'oob'? As you'd mentioned, the 'oob' support is
not there in this release? Or am I missing something else here?
I'm not sure what is happening, difficult to know without any specific
details. Did you have a chance to try CXF 2.6.2 ? It was actually
released yesterday. Please also run this demo, very easy to run, just
build and do 'mvn jetty:run-war' in 'war':
https://github.com/Talend/tesb-rt-se/tree/master/examples/cxf/jaxrs-oauth,
check oauth.thirdparty.RestaurantReservationService on how CXF
OAuthClientUtils is used (wrapped a bit there in the code)
Cheers, Sergey
Thanks for your help so far.
--
View this message in context:
http://cxf.547215.n5.nabble.com/OAuth-1-0-in-Apache-CXF-tp5712720p5712840.html
Sent from the cxf-user mailing list archive at Nabble.com.
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com