We’re using EMA to connect to HMDS, and for authentication we pass a PingID token as the username. This works correctly during the initial connection, and we’re able to authenticate and consume data without issues.
However, once the token expires and needs to be refreshed, we haven’t found a way to update the username on an existing OmmConsumer. As a result, if a disconnect occurs after the original token has expired, the consumer fails to log in and we’re forced to create a new OmmConsumer instance.
Do you know if there is a mechanism to refresh the username — in our case, the token — on an already instantiated OmmConsumer so that the updated token is used for subsequent reconnect attempts?
Thank you.