[EDP WebSocket] What does the takeExclusiveSignOnControl in token request mean?

Options

Hello,

As for the WebSocket API, we can perform the authentication by getting access token from EDP and used it to log into ERT web socket successfully. I noticed the example Python program always setting takeExclusiveSignOnControl to True when making the access token request from EDP.

I have question what's the difference between setting takeExclusiveSignOnControl to True and False when making token request either the first token request with "password" mode or "refresh" mode. Please help to clarify

Thanks & Best Regards,

Tiwa.

Best Answer

  • umer.nalla
    umer.nalla LSEG
    Answer ✓

    Hi @tiwa

    takeExclusiveSignOnControl Set to
    true if you want to override any previous session you logged on i.e. force sign-out this ID from other applications and sign-in here

    So, for example if there was a connectivity or authentication issue and the your application had to re-login with password, setting the above parameter to true ensures that any previously active login session on the authentication server is logged off and only this new attempt is counted in your list of active sessions.

Answers