summaryrefslogtreecommitdiff
path: root/ickweb/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'ickweb/app.py')
-rw-r--r--ickweb/app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ickweb/app.py b/ickweb/app.py
index db1a29d..dda2928 100644
--- a/ickweb/app.py
+++ b/ickweb/app.py
@@ -103,7 +103,7 @@ def create_app(our_url, controller, client_secret):
print('/callback called')
code = bottle.request.query['code']
print('code:', repr(code))
- token_url = '{}/token'.format(api_url)
+ token_url = '{}/token'.format(controller)
params = {
'grant_type': 'authorization_code',
'code': code,