-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
开启加密后出现verification failed event,疑似代码逻辑问题 #46
Comments
发现是因为传入的data数据结构为 |
发现上述原因和本问题并未冲突,reopen了 |
是的同学,对事件的验证是针对data本身而言的,如果参杂了其它内容会校验不通过;将headers挂在data的原型上面就可以了。 |
Closed
UNICKCHENG
added a commit
to UNICKCHENG/node-sdk
that referenced
this issue
May 8, 2023
- add adapator for NextJS - add adapator for custom see larksuite#32, larksuite#46
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
复现流程:
代码片段:
经过追踪,疑似
checkIsEventValidated
函数中(node-sdk/dispatcher/request-handle.ts
Line 104 in 6bf94c9
data
作了Hash运算,而此时的data中存在“headers”对象,因此Hash不一致The text was updated successfully, but these errors were encountered: