question

Upvotes
Accepted

generate several usable tokens

Client experimented with an extra device Id param, and it seems that they could sign in multiple devices (generate several usable tokens) with the same account.

Could you please confirm this is the way to operate with multiple instances under the same account?

rdp-apirefinitiv-data-platformlipper
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.

@Michael Ronald Cortez.Espinosa

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your 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
21.9k 58 14 21

Hi @Michael Ronald Cortez.Espinosa,

No this is not possible. Each time the application generates a token using the password grant, the previous token is invalidated. Which means, then when the previously issued access token expires and the application tried to renew it using refresh grant, that request will fail and the application will have to use password grant again.

Only one valid set of tokens is supported. If the requirement is to run multiple instances, the application should have one session manager which is responsible for getting and renewing access and refresh tokens, and share the access token with other instances.

Other option is to keep using password grant in every application instance, knowing that token renewal will not work.

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.