- Newest
- Most votes
- Most comments
The LOGIN_MUST_USE_SECURITY_TOKEN error typically indicates a need for additional authentication measures, such as a security token, which may not have been required or enforced in your older PHP5.6 environment. Given that you have already added the new EC2 IP address to the list of "Trusted Networks," it's possible that the updated PHP8 environment or the AL2023 instance enforces stricter security protocols, including the use of security tokens for SOAP requests.
To resolve this, ensure that your new PHP8 configuration and SOAP client settings are aligned with the latest security requirements of your service provider. Check if the SOAP extension in PHP8 is properly configured to handle security tokens and verify any changes in the security policies of your SOAP service since your initial implementation. Additionally, review the documentation for both your SOAP service and PHP8 for any new authentication or configuration steps required to avoid this error.
