diff options
author | t.me/xtekky <98614666+xtekky@users.noreply.github.com> | 2023-04-25 19:36:51 +0200 |
---|---|---|
committer | t.me/xtekky <98614666+xtekky@users.noreply.github.com> | 2023-04-25 19:36:51 +0200 |
commit | c7f00a9dac6701f025f5494de268e3aaf680ea6a (patch) | |
tree | d5959dd33e90d426d2029d2d01f81ea1fc11533c /ora | |
parent | testing (diff) | |
download | gpt4free-c7f00a9dac6701f025f5494de268e3aaf680ea6a.tar gpt4free-c7f00a9dac6701f025f5494de268e3aaf680ea6a.tar.gz gpt4free-c7f00a9dac6701f025f5494de268e3aaf680ea6a.tar.bz2 gpt4free-c7f00a9dac6701f025f5494de268e3aaf680ea6a.tar.lz gpt4free-c7f00a9dac6701f025f5494de268e3aaf680ea6a.tar.xz gpt4free-c7f00a9dac6701f025f5494de268e3aaf680ea6a.tar.zst gpt4free-c7f00a9dac6701f025f5494de268e3aaf680ea6a.zip |
Diffstat (limited to '')
-rw-r--r-- | ora/_jwt.py | 4 | ||||
-rw-r--r-- | ora_test.py (renamed from testing/ora_test.py) | 0 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ora/_jwt.py b/ora/_jwt.py index cc8b2349..61f71332 100644 --- a/ora/_jwt.py +++ b/ora/_jwt.py @@ -62,14 +62,14 @@ spd4eADxTm2m0GR7bhVEIbYfc0aAzIoWDpVs4V3vmx+bdRbppFxV1aS/r0g= header = { 'alg': 'RS256', 'typ': 'JWT', - 'kid': '0d1bb0d7-45e4-445c-889e-57419470a570' + 'kid': '1c8a5da7-527e-4bee-aa8d-aabda16c59ce' } payload = { **json_data, 'iat': int(datetime.now().timestamp()), 'exp': int((datetime.now() + timedelta(minutes=10)).timestamp()), - 'iss': 'https://ora.sh' + 'iss': 'https://rick.roll' } return jwt.encode(payload, private_key, algorithm='RS256', headers=header)
\ No newline at end of file diff --git a/testing/ora_test.py b/ora_test.py index 5144be14..5144be14 100644 --- a/testing/ora_test.py +++ b/ora_test.py |