# Shared signals

> OpenID Shared Signals streams: stream configuration and status per receiver, push delivery through a webhooks-out endpoint with format 'set' (RFC 8935), a poll queue (RFC 8936), SETs held while a stream is paused, and a receiver replay table. Only the service role calls it; createSsfTransmitter() and createSsfReceiver() in better-supabase/blocks/security-events mint and verify the SETs.

- Category: Developer platform
- Module: `security-events`
- Modes: `managed`
- Docs: https://bettersupabase.com/docs/blocks/security-events
- Page: https://bettersupabase.com/blocks/security-events

## Install

```bash
npx better-supabase add security-events
```

## Configure

Add the block to `better-supabase.config.ts`:

```ts
import { defineConfig } from "better-supabase/config";

export default defineConfig({
  blocks: {
    // Modes: "managed". The default is "managed".
    "security-events": { mode: "managed" },
  },
});
```

## Client

The block has no React entry yet. Its server-side TypeScript is in `better-supabase/blocks/security-events`.

## Events

- `ssf_stream.created`
- `ssf_stream.deleted`
- `ssf_stream.status_changed`

## Related blocks

Works with: [webhooks-out](https://bettersupabase.com/blocks/webhooks-out.md), [outbox](https://bettersupabase.com/blocks/outbox.md), [audit](https://bettersupabase.com/blocks/audit.md)
