You need to sign in to do that
Don't have an account?
Remote Access Application / OAuth
I'm trying to set up a remote access application so I can use OAuth and then the API from my application. I set up a brand-new developer account today and followed the instructions here:
https://na7.salesforce.com/help/doc/user_ed.jsp?section=help&target=remoteaccess_authenticate.htm&loc=help&hash=access_data
I'm using an OAuth library in Ruby (the 'oauth' gem).
So far, I've been able to succesfully retrieve a request token, and when I use that token I can authenticate with salesforce using the login URL metnioned. However, after succesful login my browser gets redirected to an error page (it looks like a few redirects happen, but I can't tell exactly). Finally I get an error message that says "Remote Access Authorization Error" and then "There was a problem setting up your remote access". The URL in the browser looks like this:
https://na7.salesforce.com/setup/secur/RemoteAccessErrorPage.apexp?oauth_error_code=1800
This error code, alas, is not listed amongst those in the documentation.
This happens whether I go through the login step as my developer user, or as a friend's user on an Enterprise account.
Any ideas about what's going on here?
I can't seem to get past this problem. Any ideas?
Thanks,
Mike
I was using auth header to get the request token; I switched to post params and voilá, it worked! Thanks for the hint.
How frustrating that I was doing something wrong when asking for a request token, yet Salesforce replied with a token anyway. I (wrongly) assumed that once I had a request token in hand, I had cleared that step. This is a bug on their end that will waste lots of people's time. It would be nice if SF acknowledged this and took steps to fix it - though AFAICT they have no issue tracker :(
Mike
could you paste sample of your code it will be helpful because even I am facing same problem.