diff options
-rwxr-xr-x | qvisqve-get-token | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/qvisqve-get-token b/qvisqve-get-token index 8068585..77c9ab8 100755 --- a/qvisqve-get-token +++ b/qvisqve-get-token @@ -1,12 +1,21 @@ #!/usr/bin/env python3 +import logging import sys +import urllib3 import requests +# We do not currently care about verify certificates. Maybe later. +# FIXME: Remove these once we have proper certificates for everything, +# including test instances of Qvarn. +urllib3.disable_warnings() +logging.captureWarnings(True) + + baseurl, user, secret = sys.argv[1:4] scopes = sys.argv[4:] |