Skip to content

Rapid Connect ​

  • Routes: src/routes/rapidConnect/[eventId]/+page.svelte, rc/[eventId]/+page.svelte
  • Feature: src/features/rapidConnect/index.svelte (+ partials/RapidEvent.svelte, svc/)

Overview ​

Rapid Connect lets a user/device join a meeting without logging in to Keycloak. It is the anonymous flow used by headsets and guests: the page mints a device token, shows a QR code with a countdown, and the device scans to join the event.

Flow ​

text
1. Anonymous page loads -> getUnauthenticatedTenantInfo() (realm/tenant)
2. startRapidConnect(deviceId) -> authToken, joinCode, QR data
3. The SignalR hub is initialized with the minted token
4. A headset scans the QR / enters the join code to enter the event

Module Functions (svc/index.ts) ​

ts
export async function startRapidConnect(command: StartRapidConnectCommandInput): Promise<...>
export async function getUnauthenticatedTenantInfo(): Promise<...>
  • deviceId is generated with nanoid.
  • partials/RapidEvent.svelte renders the QR + countdown experience.

Released under the MIT License.