Always pass an explicit expiry when signing URLs for private content. Never generate signatures in the browser, your private key must stay on the server.

Context: ImageKit signed URLs carry the signature in ik-s and an optional expiry in ik-t. If you leave ik-t off, the URL never expires, which the docs state plainly but people miss when they assume signed means short-lived. An invalid signature or an expired timestamp returns 401 once you enable restrict unsigned URLs, and signing needs your private key so it has to happen server-side.