Private
Public Access
1
0

Garmin auth working

This commit is contained in:
Sander Roosendaal
2020-06-28 12:26:13 +02:00
parent 7b2ffad5ab
commit c53d96d8bb
8 changed files with 11 additions and 4 deletions

View File

@@ -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'],
)