From b5b84f702cea59112fb09c78b4a0eb899cb791cb Mon Sep 17 00:00:00 2001 From: Haven kim Date: Thu, 23 Mar 2017 17:06:46 +0900 Subject: [PATCH] I was trying to get authorized but Fitbit server spitted an error that redirect_uri is giving bad arguments. I figured out giving redirect_uri parameter is duplicated to original field. Just use 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, )