question

Upvotes
Accepted
5 0 2 4

oauth2 CLIENT_ID

I am having difficulty for oauth2 CLIENT_ID.

1. the quick start https://developers.refinitiv.com/en/api-catalog/refinitiv-data-platform/refinitiv-data-platform-apis/quick-start says CLIENT_ID can be generated as API key by myself

2. the user guide https://developers.refinitiv.com/en/api-catalog/refinitiv-data-platform/refinitiv-data-platform-apis/documentation#news-user-guide says CLIENT_ID will be provided to me by ThomsonReuters

3. I tried to generated one myself following the quick start but it did not work

can someone clarify?

rdp-apirefinitiv-data-platformoauth
icon clock
10 |1500

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

Upvotes
Accepted
13k 32 12 18

Hi @yuan.shen

I have tried your credentials, and can see that your ID is only authorized for Research Alerts. If you are using the python samples, you can see that the OAuth token is only scoped for:

trapi.alerts.research.crudtrapi.auth.cloud-credentialstrapi.cfs.claimcheck.readtrapi.data.research.readtrapi.data.symbology.readtrapi.metadata.readtrapi.search.lookup.readtrapi.search.metadata.readtrapi.search.read

which is related for Research dataset. In the python samples, you can try researchAlerts.py to get the content.

python researchAlerts.py -s

If you need access to other content set like historical timeseries or News, please contact your Account Manager.

icon clock
10 |1500

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

Upvotes
13k 32 12 18

Hi @yuan.shen, I was able to generate a CLIENT_ID (AppKey) as outlined in the quick start guide at https://developers.refinitiv.com/en/api-catalog/refinitiv-data-platform/refinitiv-data-platform-apis/quick-start, and successfully use the quickstart and news alerts sample with it.

Did you select the Option: EDP API to include the EDP scope for your generated client id?


clientid.png (41.5 KiB)
icon clock
10 |1500

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

Upvotes
5 0 2 4

Yea, I have it checked. basically I tested all combinations

icon clock
10 |1500

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

Upvotes
13k 32 12 18

I will contact you offline to validate your credentials and ID.

icon clock
10 |1500

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

Click below to post an Idea Post Idea