Private
Public Access
1
0

fixed access scope from write to file:write

This commit is contained in:
Sander Roosendaal
2017-04-18 21:58:54 +02:00
parent 256d0af28c
commit cda887fe40
2 changed files with 2 additions and 2 deletions

View File

@@ -163,7 +163,7 @@ def make_authorization_url(request):
params = {"client_id": TP_CLIENT_KEY,
"response_type": "code",
"redirect_uri": TP_REDIRECT_URI,
"scope": "write",
"scope": "file:write",
}
url = "https://oauth.sandbox.trainingpeaks.com/oauth/authorize?" +urllib.urlencode(params)