Authentication Methods: Use Salesforce authentication mechanisms like OAuth, SSO, or Named Credentials instead of handling raw passwords.
Secure Token Storage: Store API keys, session tokens, or OAuth tokens in protected custom settings or encrypted fields.
Login Security Practices: Ensure multi-factor authentication (MFA) is supported, sensitive tokens are never logged or exposed, and all communication uses HTTPS/TLS.
Compliance and Documentation: Document the secure login flow, token handling, and any compensating controls for the security review.”
This aligns with Salesforce policies and avoids unsafe password handling practices.