Questions about connecting via API/OAuth2

twconnect
twconnect Newcomer
edited September 26 in Refinitiv Data Platform

Hi. We're trying to connect to LSEG'S API via OAuth2 using a desktop application we use for workflow automation, etc. (Alteryx).

We're currently passing through our account credentials (the same used to log in to these forums) using the following via a POST command, which from what I gather, we're required to use to obtain a token for further access:

Endpoint: http://api.refinitiv.com/auth/oauth2/v2/token

 grant_type: client_credentials

client_id: <username>

client_secret: <password>

We can establish a connection but are unable to login and receive an error about incorrect credentials.

Is there another set of credentials we should obtain to log in via this method?

Answers

  • Gurpreet
    Gurpreet admin
    edited September 25

    Hello @twconnect

    The endpoint is correct for the v2 (client credentials) authentication. Most likely, your client ID and client secret is incorrect. You can try the Postman or Python samples using your credentials - to rule out any coding error. If the credentials are indeed incorrect - then you will need to contact your LSEG account manager for help with it.

    PS: The v2 credentials are primarily used for streaming data connections. Which endpoints/data are you planning to get from Data Platform? For fundamental and reference type data, v1 credentials should be used.

This discussion has been closed.