You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I invoked with domain.com/path, but somehow the URL that I have in the event in AWS Lambda is not the same:
# From the docs https://upstash.com/docs/qstash/quickstarts/aws-lambda/pythonurl='https://{}'.format(event['requestContext']['domainName'])
decoded=jwt.decode(jwt_token, options={"verify_signature": False})
sub=decoded['sub']
ifsub!=url:
raiseException("Invalid subject: {}".format(sub))
Also when you just get a regular URL, so without a path, you will get a mismatch because one of the two has a trailing backslash. So with and without a path it won't work, the intended verify method that you have posted in the docs is my suspicion.
The text was updated successfully, but these errors were encountered:
Setup overview
Steps:
In the logs of that function I see the following:
So I invoked with
domain.com/path
, but somehow the URL that I have in the event in AWS Lambda is not the same:Also when you just get a regular URL, so without a path, you will get a mismatch because one of the two has a trailing backslash. So with and without a path it won't work, the intended verify method that you have posted in the docs is my suspicion.
The text was updated successfully, but these errors were encountered: