Sharing access tokens/refresh tokens among multiple clients.

RyoOowada
RyoOowada Newcomer
edited May 26 in Refinitiv Data Platform

If multiple clients request the authentication API with the same machine ID, will the same access token and refresh token be issued?

We plan to build two client systems that connect to the Refinitiv server. One is for the production environment and the other is for the staging environment.

Each of the two systems has two client applications inside, and both applications connect to the Refinitiv server. Note that each environment is associated with one machine ID and one account, and the two client applications in the environment use the same machine ID and account.

According to the explanation in "3.1.6 V1 Managing Multiple Connections", when authenticating with the same machine ID, an access token that can be shared by multiple clients can be used.

Can we assume that the same access token and refresh token will be issued to multiple clients when using the same machine ID?

For example, if client 1 requests the authentication API and obtains a refresh token and client 2 then immediately requests the authentication API, can it obtain the same refresh token as the one obtained by client 1?

Answers

  • wasin.w
    wasin.w admin

    Hello @RyoOowada

    If you are using the Version 1 Authentication (GE-A-XXXXXXXX-X-XXXX), it is advisable to get multiple Machine-IDs if you want to run multiple applications/sessions. If you use a single Machine-ID with multiple sessions, the applications may encounter an error when an access token expires or when the applications attempt to refresh an access token.