Salesforce does not recommend username-password flows.
To make it more secure, improve to adopt "OAuth 2.0 JWT Bearer Flow for Server-to-Server Integration" or similar.
https://help.salesforce.com/s/articleView?id=sf.remoteaccess_oauth_flows.htm&type=5
Some flows have important security considerations. For example, when using the web server flow, you must store the client secret securely. We recommend avoiding the user-agent and username-password flows because they transmit credentials. Instead, choose a flow that frees the app from having to manage, store, and protect credentials.
Current grant_type
|
'grant_type': 'password', |
Manual
Additionally, An addition should be added to the manual on how to block it.
https://help.salesforce.com/s/articleView?id=sf.remoteaccess_disable_username_password_flow.htm&type=5
Salesforce does not recommend username-password flows.
To make it more secure, improve to adopt "OAuth 2.0 JWT Bearer Flow for Server-to-Server Integration" or similar.
https://help.salesforce.com/s/articleView?id=sf.remoteaccess_oauth_flows.htm&type=5
Current grant_type
amazon-connect-salesforce-lambda/sam-app/lambda_functions/salesforce.py
Line 53 in 34cb6a0
Manual
Additionally, An addition should be added to the manual on how to block it.
https://help.salesforce.com/s/articleView?id=sf.remoteaccess_disable_username_password_flow.htm&type=5