tools: Print auth url to console

old-commit-hash: 327a255a1ab7fd4b50898ebbeadf27235d6331e6
This commit is contained in:
Andy Haden
2020-02-25 11:44:13 -08:00
parent 03acf56736
commit 7db2f5b3d7

View File

@@ -49,6 +49,7 @@ def login():
redirect_uri, oauth_uri = auth_redirect_link(port)
web_server = ClientRedirectServer(('localhost', port), ClientRedirectHandler)
print(f'To sign in, use your browser and navigate to {oauth_uri}')
webbrowser.open(oauth_uri, new=2)
while True: