tools: Print auth url to console

This commit is contained in:
Andy Haden 2020-02-25 11:44:13 -08:00
parent 4a94e507cf
commit 327a255a1a

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: