google app engine - Request for Request Token from Intuit IPP gives permission denied -
i doing on local development site without problems. when try setup new connection quickbooks file live site, permission denied error.
here error returned: "post https://oauth.intuit.com/oauth/v1/get_request_token: permission denied"
here request headers
content-type application/x-www-form-urlencoded authorization oauth oauth_consumer_key="my_key", oauth_nonce="my_nonce", oauth_signature="my_sig", oauth_signature_method="hmac-sha1", oauth_timestamp="1377287041", oauth_version="1.0"
here request body:
oauth_callback=http%3a%2f%2fwww.intheloop-notes.com%2fqb%2fconnect%2freturn%2f
---- edit ----
the response nil altogether, getting error go code on:
response, err := client.do(request)
which why have added couple of tags question (go , google-app-engine) try , broaden audience. pretty sure error in way oauth library sending request. using library: https://github.com/kurrik/oauth1a, has been working fine on local development site, gives me "permission denied" error when make call live site. think there difference in way development app engine server creates request way live engine does, not sure what.
any ideas?
eureka! figured out! , thank you, manas, not have found solution without last link gave. wondering: had create custom http.client using appengine.urlfetch library. once figured out, solution simple, had change 1 line of code created client this:
client := urlfetch.client(appengine.newcontext(r))
problem solved!
Comments
Post a Comment