tools: Print auth url to console

pull/1123/head
Andy Haden 6 years ago
parent 4a94e507cf
commit 327a255a1a
  1. 1
      tools/lib/auth.py

@ -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:

Loading…
Cancel
Save