洪 民憙 (Hong Minhee)
A software engineer from Seoul. An advocate of F/OSS, fediverse, and cypherpunk. Hack into East Asian languages.
- 4 Posts
- 1 Comment
Joined 2 years ago
Cake day: February 17th, 2024
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.



onUnverifiedActivity()only runs when signature verification fails: missing signature, bad signature, or a key lookup failure. It gives you a chance to handle those cases yourself instead of Fedify immediately returning401 Unauthorized. If the signature verifies, this hook is not involved.If you want extra validation for verified activities, do that in your normal
.on()handlers. Those run after signature verification, so that’s where app-specific checks belong, like rejecting certain actors or applying your own rate limits.