You need to sign in to do that
Don't have an account?
LOGIN_MUST_USE_SECURITY_TOKEN soap fault
Hi,
I recently created a developer edition account. I can login using the browser all right but, when I try to login using the partner web service, I get LOGIN_MUST_USE_SECURITY_TOKEN soap fault. So, I generated a new security token and I can login when I append that token to the password. I added my desktop's IP address(as I see in my ipconfig as in my corporate network) as a trusted IP address but still I can't login unless I use the security token along with the password. Or does it need a public IP address for it to work(as opposed to an IP address which might be visible only inside corporate network)?
Is that expected behavior? Or is that something true for the developer edition accounts and will not be an issue in production systems when using API to login to the partner web service?
Thanks in advance and regards
You'll need to register the public IP address that your requests appear to come from (you can easily see this in LoginHistory) if you don't want to use your api security token. This will be an issue for production usage as well (one potential alternative for you would be to use one of the oauth interactive flows rather than the login call).
Thanks. Can you please elaborate on "oauth interactive flows" and how it can be used instead of the login call?
Regards
See http://blogs.developerforce.com/developer-relations/2011/03/oauth-and-the-soap-api.html