+ Start a Discussion
Jay HartleyJay Hartley 

How to provide two-factor authentication token in API call

This is basically the same question as https://developer.salesforce.com/forums?id=906F0000000BMONIA4, which is two years old and un-answered. There is documentation on enabling two-factor authentication for APIs, but nothing I can find for developers on how to provide the verification token as part of an API call.
The closest I get to real documentation for SOAP case is https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_concepts_security.htm. It seems to suggest that the two-factor token can perhaps be used in place of the standard security token, so appended to the password. Is this the case?