JWE Validation Issue: Failing in Python 3.8 but Successful in Python 3.12 #677
Unanswered
prazwalayyyyyyyy
asked this question in
Q&A
Replies: 2 comments
-
Authlib is compatible with Python3.6+.
This was mentioned in the authlib documentation.
…On Wed, 4 Sept 2024 at 18:30, Brendan McCollam ***@***.***> wrote:
It's perhaps worth noting that Python 3.8 has been EOL since 2021.
<https://endoflife.date/python>
—
Reply to this email directly, view it on GitHub
<#677 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AR72CUY6YBUM4TUT22LA6XDZU36FHAVCNFSM6AAAAABNUD66YCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANJUGUYTINQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Can you try https://jose.authlib.org This library will be the replacement of authlib.jose module |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’m encountering an issue with JSON Web Encryption (JWE) validation. Specifically, JWE validation fails for POST requests in Python 3.8 but succeeds when running the same code in Python 3.12. Here are the details:
Python Versions:
Python 3.8 (Fails)
Python 3.12 (Succeeds)
Library Versions:
Python 3.8 (Fails): Authlib==1.3.2, cryptography==43.0.1, requests==2.32.3
Python 3.12 (Succeeds): Authlib==1.3.2, cryptography==43.0.1, requests==2.32.3
Error message(in Python 3.8):
Code(in both versions):
However in python 3.8, I had to change
now = datetime.datetime.utcnow()
and another field in request to:
Beta Was this translation helpful? Give feedback.
All reactions