Skip to content

Commit 03b897e

Browse files
author
stansypht
committed
Update legacy default authentication endpoint
1 parent 529d002 commit 03b897e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

OAuthHelper.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Sypht
1010
{
1111
class OAuthHelper
1212
{
13-
private const string SYPHT_AUTH_ENDPOINT = "https://auth.sypht.com/oauth2/token";
13+
private const string SYPHT_AUTH_ENDPOINT = "https://login.sypht.com/oauth/token";
1414

1515
private String clientId = null;
1616
private String clientSecret = null;

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Populate system environment variable with the credentials generated above:
2020
export SYPHT_API_KEY="<client_id>:<client_secret>"
2121
```
2222

23-
If credentials were issued before 16th June 2020, please populate one more system environment variable:
23+
If credentials were issued after 16th June 2020, please use one more system environment variable:
2424
```Bash
25-
export SYPHT_AUTH_ENDPOINT="https://login.sypht.com/oauth/token"
25+
export SYPHT_AUTH_ENDPOINT="https://auth.sypht.com/oauth2/token"
2626
```
2727

2828
install the json.net dependency

0 commit comments

Comments
 (0)