Skip to content

LOGIN_MUST_USE_SECURITY_TOKEN in SOAP Request, IP added in Network Access

0

Hi,

In the process of migrating my (legacy) PHP application to AL2023 (PHP8, from PHP5.6), I have, at this point, the old and the new EC2 instances. On the new (AL2023) instance, a SOAP request gets the LOGIN_MUST_USE_SECURITY_TOKEN error - even as I have added the EC2 IP address to the list of "Trusted Networks". I am not getting this error - for the identical request - on the old instance.

What am I missing?

1 Answer
0

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.

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.