question

Upvotes
Accepted
1 0 0 0

Question about 「Version 2 Authentication Streaming Workflow」

I have a question regarding 「Version 2 Authentication Streaming Workflow」link as below.

https://developers.lseg.com/en/article-catalog/article/getting-started-with-version-2-authentication-for-refinitiv-real

Question 1 : what is the meaning of session expiration ?

#technologyrefinitiv-data-platformauthenticationrefinitiv-realtime-optimisedciam
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hello @ken.chou

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,
AHS

1 Answer

· Write an Answer
Upvotes
Accepted
17.4k 82 39 63

Hi @ken.chou

The meaning of session expiration specifically refers to the access token you acquire expiring.

When using Version 2 authentication, you are required to acquire an access token from the platform using your client credentials. This access token is used to provide safe access to the streaming data services, but will eventually expire. With version 2, so long as you remain connected, the streaming server will allow you to continue to use your access token for days, weeks, however long you remain connected. However, if you disconnect from the server, you may need to refresh your access token if it has expired. Here is a scenario:

1. You start your application and acquire an access token from the authentication server. The response will also provide an expiration time for this token.

2. When you connect into your streaming server, you will need to login using the access token. Once logged in, you can begin requesting data.

3. If you disconnect from the streaming server and the "expiration time" has not expired, you can login using your original access token. If the "expiration time" has expired, you will need to acquire a new access token and use this to login to the streaming server.

Hope this makes sense.



icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.