Hi Erik,

You are using a remote Data Adapter and a local Metadata Adapter. To handle authentication from your PHP code you need to use a remote Metadata Adapter too.

To do that, instead of "com.lightstreamer.adapters.metadata.LiteralBasedP rovider", you should use "com.lightstreamer.adapters.remote.metadata.Network edMetadataProvider".

For a full config file example, please see "Lightstreamer\DOCS-SDKs\sdk_adapter_remoting_infrastructure\conf\sock ets" or "Lightstreamer\DOCS-SDKs\sdk_adapter_remoting_infrastructure\conf\sock ets(robust)" in any Lightstreamer distribution.

Cheers,

Alessandro