Force.com-JavaScript-REST-Toolkit icon indicating copy to clipboard operation
Force.com-JavaScript-REST-Toolkit copied to clipboard

Need help connecting to org using phonegap example

Open haxaco opened this issue 12 years ago • 0 comments

As I'm trying at the moment, the forcetk constructor is being passed the consumer key as the clientid and I have the default callback url set (https://login.salesforce.com/services/oauth2/success) but I just can't seem to get a connection. I've also set https://na9.salesforce.com my instance as a remote site.

I've worked with the forcetk from inside the org through a vf page and it works awesome but I can't seem to get it going from outside. Any pointers I might have missed?

haxaco avatar Sep 01 '12 22:09 haxaco