Skip to content
Playground(another site)

bynk.actor.signature_identity_unsupported

Error A Signature actor declared an identity, which is not yet supported.

A signature shows that a request is authentic, not who sent it, so a Signature actor has no principal to give an identity. The event is the handler's body. Remove identity. For an actor that carries a principal, see bynk.actor.bearer_identity_not_string_constructible.

Example

actor Hook { auth = Signature(secret = "WEBHOOK_KEY", header = "X-Sig"), identity = String } // ✗ no principal
actor Hook { auth = Signature(secret = "WEBHOOK_KEY", header = "X-Sig") } // ✓

In the Book

See also

  • Every code in its category, Actors, on the diagnostic index.
  • bynk explain bynk.actor.signature_identity_unsupported shows the same from the installed toolchain, without a network.