Salesforce Remote Access Authorization Error

I am new to developing a Salesforce app and I am using OAuth 1 for authentication. I am able to generate the Request Token, and I re-direct the user to the salesforce site. Once I enter my credentials, I get a

Remote Access Authorization Error
There was a problem in setting up your remote access



In my Login History page, it shows Status as Success for Application type OAuth. I don't get any entry in my Debug Logs page. I have enabled Development Mode.

Any ideas whats wrong?

-------------Problems Reply------------

So is a stub URL for callbacks - and that is the screen you are seeing there, and the access_token variable is your session ID for the user. So the OAuth flow is working correctly.

In the code, you might check to see if oauthResponse.access_token is getting set correctly. If so, it looks like:

sfw.login( setupHomeView );

That is what should tell it to move from that page to the next UI page.

You might also check out the Mobile SDK (link). It also includes PhoneGap and has a great OAuth wrapper built in.

Category:oauth Views:7 Time:2011-11-30

Related post

Copyright (C), All Rights Reserved.

processed in 0.141 (s). 11 q(s)