We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a5297d commit 36d7dfcCopy full SHA for 36d7dfc
src/browser_use_sdk/lib/webhooks.py
@@ -123,11 +123,11 @@ def verify_webhook_event_signature(
123
124
# Verify
125
126
- expected_signature = create_webhook_signature(
+ calculated_signature = create_webhook_signature(
127
payload=webhook_event.payload.model_dump(), timestamp=timestamp, secret=secret
128
)
129
130
- if not hmac.compare_digest(expected_signature, expected_signature):
+ if not hmac.compare_digest(expected_signature, calculated_signature):
131
return None
132
133
return webhook_event
0 commit comments