Subject: Help Needed with JWT Decoding Issue for a Specific User
Hi everyone,
I have an app on Monday Marketplace called Lead & Contact Info Finder. Everything works as expected for our users except for one specific case.
Issue:
I’m encountering a problem when trying to decode a JWT token for a particular user. The error I’m getting is:
makefile
Copy code
jwt.exceptions.InvalidSignatureError: Signature verification failed
Technical Information:
In my Python code, I use the following snippet to decode the token:
python
decoded_data = jwt.decode(
authorization,
monday_sign_secret,
algorithms=['HS256'],
options={'verify_aud': False}
)
Here:
authorization
is the JWT token received in the event.monday_sign_secret
is my signing secret.
This code works perfectly for all other users, but I can’t decode the token for this specific user using the same secret.
Question:
Has anyone encountered a similar issue, or does anyone have insights into what might be causing this JWT signature verification to fail only for this user?
Thanks in advance for any help or suggestions!
Best,
Doron