bynk.actor.signed_cookie_unknown_key
Error A SignedCookie config has a key outside the closed set.
A SignedCookie takes secret, ttl, cookie, previous and sameSite, and nothing else. The set is closed so a misspelt option is refused rather than ignored. The cookie's Domain and Path are not configurable on purpose: the issued cookie is always host-only and Path=/, which keeps a __Host- name valid.
Example
actor User { auth = SignedCookie(secret = "SESSION_KEY", ttl = 12.hours, domain = "example.com"), identity = UserId } // ✗
actor User { auth = SignedCookie(secret = "SESSION_KEY", ttl = 12.hours), identity = UserId } // ✓In the Book
See also
- Every code in its category, Actors, on the diagnostic index.
bynk explain bynk.actor.signed_cookie_unknown_keyshows the same from the installed toolchain, without a network.