diff options
author | Frederick Muriuki Muriithi | 2024-04-24 07:02:01 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-04-24 07:02:01 +0300 |
commit | 74ff470d9ae4e0f9cf46e6ad07a5b5c38f10f4f0 (patch) | |
tree | 6fb4adb21203318cce3815c4616d75e1d451ba9b /gn2/wqflask/oauth2 | |
parent | 72acd0388ef45dd35a4b933bc80bb277c7a8f567 (diff) | |
download | genenetwork2-74ff470d9ae4e0f9cf46e6ad07a5b5c38f10f4f0.tar.gz |
Send assertion as a string, not bytes.
Diffstat (limited to 'gn2/wqflask/oauth2')
-rw-r--r-- | gn2/wqflask/oauth2/toplevel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/oauth2/toplevel.py b/gn2/wqflask/oauth2/toplevel.py index 6b3db201..23965cc1 100644 --- a/gn2/wqflask/oauth2/toplevel.py +++ b/gn2/wqflask/oauth2/toplevel.py @@ -51,7 +51,7 @@ def authorisation_code(): "nbf": int(issued.timestamp()), "iat": int(issued.timestamp()), "jti": str(uuid.uuid4())}, - key=jwtkey), + key=jwtkey).decode("utf8"), "client_id": app.config["OAUTH2_CLIENT_ID"] } |