# Salesforce SOAP API login() Retirement

Salesforce has recently announced their plans to deprecate the SOAP API login method. The purpose of this article is to outline the impact to the CapStorm applications that will result from this change to the Salesforce platform. More information about this change to the Salesforce platform can be found [here](https://help.salesforce.com/s/articleView?id=005132110\&type=1).

### How to determine if SOAP API login is being used?

When using CopyStorm, the only Salesforce credential type that uses the Soap API login is the  "Username and password" option. *Note: This does **not** include OAuth Username and Password.* &#x20;

### How will this change impact CapStorm applications?

This change to the Salesforce platform will have a few noteworthy impacts on the CapStorm family of applications. These changes will only affect version **10.65.1** (V5.4 of the CapStorm Container) and newer:&#x20;

* CapStorm applications using the Username and Password Salesforce login type will fallback to Salesforce API version 64.
  * This means that Username and Password login type will still be functional for the near future.
  * &#x20;It should be noted that Salesforce objects and fields made available in Salesforce API v65 and newer will not be available for backup/restore when using Username and Password login.&#x20;
* CapStorm applications using the Username and Password Salesforce login type will display a warning when using the "Test Salesforce Connection" button, informing the user that using this login method is causing the application to fall back to API version 64.&#x20;
* CapStorm applications using the Username and Password Salesforce login type will report an exception to notify the user that SOAP API login is being deprecated. This exception is purely informative, and does not indicate any errors in the application.
* CapStorm applications making use of any of the supported OAuth login options will be unaffected by these changes.&#x20;

### What user action is required?

We recommend that users migrate to using any of the available OAuth login methods in order to stay up to date with Salesforce's best practices and make use of the latest CopyStorm supported Salesforce API version. Please see the following pages for more info on configuring CopyStorm to make use of OAuth login:&#x20;

* [OAuth JWT](https://learn.capstorm.com/frequently-asked-questions/usage/where-does-copystorm-store-passwords/salesforce-oauth-login-types/oauth-jwt-login)
* [OAuth Username and Password](https://learn.capstorm.com/frequently-asked-questions/usage/where-does-copystorm-store-passwords/salesforce-oauth-login-types/oauth-username-password-login?q=username+and+password)
* [OAuth Client Credentials](https://learn.capstorm.com/frequently-asked-questions/usage/where-does-copystorm-store-passwords/salesforce-oauth-login-types/oauth-client-credentials-login)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.capstorm.com/frequently-asked-questions/usage/salesforce-soap-api-login-retirement.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
