Garmin auth working
This commit is contained in:
@@ -56,9 +56,9 @@ def garmin_authorize():
|
||||
resource_owner_secret = fetch_response.get('oauth_token_secret')
|
||||
|
||||
authorization_url = garmin.authorization_url(base_uri)
|
||||
return authorization_url
|
||||
return authorization_url,resource_owner_key,resource_owner_secret
|
||||
|
||||
def garmin_processcallback(redirect_respones):
|
||||
def garmin_processcallback(redirect_response,resource_owner_key,resource_owner_secret):
|
||||
garmin = OAuth1Session(oauth_data['client_id'],
|
||||
client_secret=oauth_data['client_secret'],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user