something

This commit is contained in:
2025-12-19 15:12:10 +02:00
parent d5e092c37a
commit 725e3a5680
2 changed files with 8 additions and 1 deletions

View File

@@ -54,6 +54,11 @@ def healthz():
def ipn():
# 1. Get the signature from the 'Verification-Token' header
token = request.headers.get('Verification-Token')
if token:
# This ignores the signature completely just so we can see what's inside
raw_data = jwt.decode(token, options={"verify_signature": False})
app.logger.info(f"UNVERIFIED JWT CONTENT: {raw_data}")
# 2. If it exists, inject it into the location the SDK expects
if token: