Skip to content

Commit 5f917dc

Browse files
committed
feat: sign hook payload data
1 parent aeab14a commit 5f917dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/libraries/hook.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export const createHookLibrary = (queries: Queries) => {
9696
'user-agent': 'Logto (https://logto.io/)',
9797
...headers,
9898
...conditional(
99-
signingKey && { 'x-logto-signature-256': await signAsync(signingKey, payload) }
99+
signingKey && { 'logto-signature-256': await signAsync(signingKey, payload) }
100100
),
101101
},
102102
json,

0 commit comments

Comments
 (0)