Skip to content

Commit

Permalink
updating auth approach
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Pollock committed Dec 9, 2015
1 parent 82936be commit 65b8a63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion files/requirements.txt
Expand Up @@ -6,4 +6,4 @@ Werkzeug==0.10.4
gunicorn==19.3.0
itsdangerous==0.24
wsgiref==0.1.2
masheryapi==1.0.9
masheryapi==1.0.11
2 changes: 1 addition & 1 deletion resources/authentication.py
Expand Up @@ -16,7 +16,7 @@ def post(self):
secret = os.environ['MASHERY_API_SECRET']#'wtYsDAryQM'
redirect_uri = os.environ['MASHERY_REDIRECT_URI']#'https://www.mashery.com'

mashery_auth = Auth('https', 'api.mashery.com', args.area_id, args.area_uuid, apikey, secret, 'APIDefinitionImporter')
mashery_auth = Auth('https', 'api.mashery.com', None, args.area_uuid, apikey, secret, 'APIDefinitionImporter')
try:
access_token = mashery_auth.get_access_token(args.username, args.password, args.area_uuid)
except ValueError as err:
Expand Down

0 comments on commit 65b8a63

Please sign in to comment.