From dec7ec136300159091e2efeba7bd73c2230958e5 Mon Sep 17 00:00:00 2001 From: raacker Date: Thu, 23 Mar 2017 17:12:42 +0900 Subject: [PATCH] Remove parameter assignment I was trying to get authorized but Fitbit server spitted out an error that redirect_uri is giving bad arguments. I figured out giving redirect_uri parameter is duplicated to original field. It should be given as the user set. Just using that given argument as a field. --- gather_keys_oauth2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gather_keys_oauth2.py b/gather_keys_oauth2.py index aade911..f2a257b 100755 --- a/gather_keys_oauth2.py +++ b/gather_keys_oauth2.py @@ -24,7 +24,7 @@ def __init__(self, client_id, client_secret, self.fitbit = Fitbit( client_id, client_secret, - redirect_uri=redirect_uri, + redirect_uri, timeout=10, )