diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-07-21 12:03:37 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-07-21 12:03:37 +0300 |
commit | f6cf60f7e6ac9ddcd52adc0b85b66142265b2693 (patch) | |
tree | 18431c8e72f9ab82fdc484a179c5c0f3368eb53a /create-token | |
parent | fb5375e384515ac6a3be6b8fa56f1a454f969d16 (diff) | |
download | qvisqve-f6cf60f7e6ac9ddcd52adc0b85b66142265b2693.tar.gz |
Add: support for apifw callbacks to get request bodies
Diffstat (limited to 'create-token')
-rwxr-xr-x | create-token | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/create-token b/create-token index c0e43a6..e2e9fbb 100755 --- a/create-token +++ b/create-token @@ -26,7 +26,7 @@ import apifw filename = sys.argv[1] iss = sys.argv[2] aud = sys.argv[3] -scopes = sys.argv[4] +scopes = ' '.join(sys.argv[4].split()) key_text = open(filename, 'r').read() key = Crypto.PublicKey.RSA.importKey(key_text) |