Skip to content

Commit

Permalink
Merge pull request #15 from mediaimprove/patch-1
Browse files Browse the repository at this point in the history
print Authorization Endpoint
  • Loading branch information
martin-loetzsch authored Jun 14, 2018
2 parents cb3c77c + f4e629b commit 14e7aff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bingads_downloader/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,7 @@ def refresh_oauth_token():
api_client = BingReportClient()
authentication = OAuthDesktopMobileAuthCodeGrant(client_id=config.oauth2_client_id())
api_client.authorization_data.authentication = authentication
print('Authorization Endpoint: {}'.format(api_client.authorization_data.authentication.get_authorization_endpoint()))
webbrowser.open(api_client.authorization_data.authentication.get_authorization_endpoint(),
new=1)
response_uri = input(
Expand Down

0 comments on commit 14e7aff

Please sign in to comment.