Re: Need help with Camel OAuth

2011-10-10 Thread AnitaJ
asap :) -- View this message in context: http://camel.465427.n5.nabble.com/Need-help-with-Camel-OAuth-tp475p4889461.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Need help with Camel OAuth

2011-10-10 Thread Brian Topping
t;> >> The route is in the TutorialRouteBuilder class in this link: >> http://camel.apache.org/tutorial-oauth.html Camel OAuth tutorial >> >> >> >> // Callback URL for sending back an authorized access token. >> String encodedCallback = >> URLEnco

Re: Need help with Camel OAuth

2011-10-10 Thread Brian Topping
String encodedCallback = > URLEncoder.encode(String.format("https://%s.appspot.com/camel/handler";, > application), "UTF-8"); > > // Google should issue an access token that is scoped to calendar feeds. > String encodedScope = > URLEncoder.encode(&

Re: Need help with Camel OAuth

2011-10-10 Thread AnitaJ
Accounts. The // response redirects the browser to an authorization page provided by Google. from("ghttp:///authorize";) .to("gauth:authorize?callback=" + encodedCallback + "&scope=" + encodedScope); -- View this message in context: http://camel.4

Re: Need help with Camel OAuth

2011-10-10 Thread Brian Topping
was not really able to debug it any better. > > Can someone give me any pointers on what could possibly be going wrong? > > Thanks in advance for your help!! > > -Anita > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Need-help-with-Camel-OAuth-tp475p475.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Need help with Camel OAuth

2011-10-10 Thread AnitaJ
Anita -- View this message in context: http://camel.465427.n5.nabble.com/Need-help-with-Camel-OAuth-tp475p475.html Sent from the Camel - Users mailing list archive at Nabble.com.