bynk.actor.signed_cookie_issue_outside_handler
Error Actor.issue(identity) on a SignedCookie actor is called outside a service handler (in a provider or an agent).
The signing key reaches a service handler, which is where a request arrives and a Set-Cookie is sent. A provider or an agent holds only the capabilities in its given, so User.issue(identity) there would find no key and fault on every request. Issue the cookie in the handler.
Example
User.issue(id) // ✗ in a provider or an agent
let c <- User.issue(body) // ✓ in a service handlerIn the Book
See also
- Every code in its category, Actors, on the diagnostic index.
bynk explain bynk.actor.signed_cookie_issue_outside_handlershows the same from the installed toolchain, without a network.