We are using RDP authentication API https://api.refinitiv.com:443/auth/oauth2/v1Error and https://api.refinitiv.com:443/auth/oauth2/v2Error Please provide below details about same.
Hello @Prathamesh_11
Please check the RDP APIs - Authorization - All about tokens tutorial page. It should contain all information you need for the RDP Authentication process.
@Prathamesh_11
Thank you for reaching out to us.
Those endpoints are used to generates tokens for the V1 and V2 authentications.
Typically, the V2 authentication is used by Real-Time optimized users. Please check this Account authorization V1 to V2 migration cheat sheet article.
For the V1 expiration, please refer to this Limitations and Guidelines for the RDP Authentication Service article.
The V2 doesn't use refresh tokens anymore. You can check the expiration period from the response.
{ "expires_in": 7199, "token_type": "Bearer", "access_token": "<token>" }
The unit is in seconds. Please refer to this Getting Started with Version 2 Authentication for The Real-Time Optimized: Overview article.