mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-12 00:12:05 +08:00
tools: Print auth url to console
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user