Refinitiv / websocket-api

A direct access WebSocket API that enables easy integration into a multitude of client technology environments such as scripting and web.
Other
68 stars 40 forks source link

"beta" version of OAuth2 endpoint? #7

Closed apjanke closed 4 years ago

apjanke commented 4 years ago

Some of the code in these examples has "beta1" in the URL for the OAuth2 endpoint.

Is this expected? Is there a production/release-to-master/non-beta version of this service endpoint available? Should users be hitting a beta authentication service like this?

$ grep -r beta *
Applications/Examples/EDP/python/market_price_edpgw_authentication.py:auth_url = 'https://api.refinitiv.com:443/auth/oauth2/beta1/token'
Applications/Examples/EDP/python/README.md:`--auth_url`      | OPTIONAL. URL of the EDP Gateway. Defaults to https://api.refinitiv.com:443/auth/oauth2/beta1/token.
Applications/Examples/EDP/python/README.md:`--auth_url`      | OPTIONAL. URL of the EDP Gateway. Defaults to https://api.refinitiv.com:443/auth/oauth2/beta1/token.
Applications/Examples/EDP/python/market_price_edpgw_service_discovery.py:auth_url = 'https://api.refinitiv.com:443/auth/oauth2/beta1/token'
Applications/Examples/EDP/java/MarketPriceEdpGwServiceDiscovery.java:    public static String authUrl = "https://api.refinitiv.com:443/auth/oauth2/beta1/token";
Applications/Examples/EDP/java/README.md:`--auth_url`      | OPTIONAL. URL of the EDP Gateway. Defaults to https://api.refinitiv.com:443/auth/oauth2/beta1/token.
Applications/Examples/EDP/java/README.md:`--auth_url`      | OPTIONAL. URL of the EDP Gateway. Defaults to https://api.refinitiv.com:443/auth/oauth2/beta1/token.
Applications/Examples/EDP/java/MarketPriceEdpGwAuthentication.java:    public static String authUrl = "https://api.refinitiv.com:443/auth/oauth2/beta1/token";
Applications/Examples/EDP/CSharp/MarketPriceEdpGwServiceDiscoveryExample/MarketPriceEdpGwServiceDiscoveryExample.csproj:    <PackageReference Include="Newtonsoft.Json" Version="12.0.1-beta1" />
Applications/Examples/EDP/CSharp/MarketPriceEdpGwServiceDiscoveryExample/MarketPriceEdpGwServiceDiscoveryExample.cs:        /// https://api.refinitiv.com:443/auth/oauth2/beta1/token is used.</summary>
Applications/Examples/EDP/CSharp/MarketPriceEdpGwServiceDiscoveryExample/MarketPriceEdpGwServiceDiscoveryExample.cs:        private static string _authUrl = "https://api.refinitiv.com:443/auth/oauth2/beta1/token";
Applications/Examples/EDP/CSharp/README.md:`--auth_url`      | OPTIONAL. URL of the EDP Gateway. Defaults to https://api.refinitiv.com:443/auth/oauth2/beta1/token.
Applications/Examples/EDP/CSharp/README.md:`--auth_url`      | OPTIONAL. URL of the EDP Gateway. Defaults to https://api.refinitiv.com:443/auth/oauth2/beta1/token.
Applications/Examples/EDP/CSharp/MarketPriceEdpGwAuthenticationExample/MarketPriceEdpGwAuthenticationExample.cs:        /// https://api.refinitiv.com:443/auth/oauth2/beta1/token is used.</summary>
Applications/Examples/EDP/CSharp/MarketPriceEdpGwAuthenticationExample/MarketPriceEdpGwAuthenticationExample.cs:        private string _authUrl = "https://api.refinitiv.com:443/auth/oauth2/beta1/token";
Applications/Examples/EDP/CSharp/MarketPriceEdpGwAuthenticationExample/MarketPriceEdpGwAuthenticationExample.csproj:    <PackageReference Include="Newtonsoft.Json" Version="12.0.1-beta1" />
$
nawapoom commented 4 years ago

The 'v1' is available now. The same credentials should work.

vlevendel commented 4 years ago

This was updated in latest GitHub push.

apjanke commented 4 years ago

LGTM. Thanks!