From 2d4345dee8e5f9c5ae9408b32600de9773a0abcd Mon Sep 17 00:00:00 2001 From: Laurent Date: Mon, 15 Jan 2024 16:39:56 +0100 Subject: [PATCH] fix --- subscriptions/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subscriptions/views.py b/subscriptions/views.py index 1ffef8a..c4fcc32 100644 --- a/subscriptions/views.py +++ b/subscriptions/views.py @@ -38,7 +38,7 @@ def app_store_webhook(request): # with open(KEY_FILE,'r') as key_file: # key = ''.join(key_file.readlines()) - decodedPayload = _decode_jws(signedPayload, algorithms=['ES256']) + decodedPayload = _decode_jws(signedPayload, root_cert_path=None, algorithms=['ES256']) # decodedPayload = jwt.decode(signedPayload, key, algorithms=['ES256'])