Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

246 B
Raw Blame
import { auth } from "@trigger.dev/sdk";

export async function generateTriggerPublicAccessToken(tag: string) {
  return auth.createPublicToken({
    scopes: {
      read: {
        tags: [tag],
      },
    },
    expirationTime: "15m",
  });
}