Salesforce TLS 1.0禁用测试链接TLS1测试响应授权类型不支持

Salesforce TLS 1.0禁用测试链接TLS1测试响应授权类型不支持,salesforce,Salesforce,由于Salesforce TLS1.0在7月22日被禁用,我按照下面url中的建议进行了测试。 我们从后端服务器通过REST API与salesforce进行交互,首先我们执行一个grant_type=密码来获取访问令牌和实例url。它指向目标,现在可以工作了。正如在帮助url中提到的,它试图将其指向,并给我一个错误{“error”:“unsupported_grant_type”,“error_description”:“grant type not supported”}。在linux命令行

由于Salesforce TLS1.0在7月22日被禁用,我按照下面url中的建议进行了测试。
我们从后端服务器通过REST API与salesforce进行交互,首先我们执行一个grant_type=密码来获取访问令牌和实例url。它指向目标,现在可以工作了。正如在帮助url中提到的,它试图将其指向,并给我一个错误{“error”:“unsupported_grant_type”,“error_description”:“grant type not supported”}。在linux命令行中尝试了以下格式,它给出了相同的响应

 curl -v https://tls1test.salesforce.com/services/oauth2/token -d "grant_type=password&client_id=<>&client_secret=<>&username=username%40domain.com&password=<>" -H "Content-Type:application/x-www-form-urlencoded"
curl-vhttps://tls1test.salesforce.com/services/oauth2/token -d“grant\u type=password&client\u id=&client\u secret=&username=username%40domain.com&password=“-H”内容类型:application/x-www-form-urlencoded”