TechView Sessions Admin

Admin

General settings

Changes apply right away. A setting left at its default follows the value in wrangler.jsonc.

Shown in the UI, share messages and authenticator apps.

Preselected when an agent creates a link. 5–1440.

How long a connected onsite device can rejoin after its link expires. 1–24.

Applies to new sign-ins. 1–720.

Sessions and snapshots older than this are deleted daily. 1–3650.

Everyone, admins included, must set up an authenticator app or a passkey before they can use the app. Accounts without one are sent to their profile to set it up after they sign in.

Agents

NameEmailRoleLast sign-in

Single sign-on (Microsoft Entra ID)

Agents sign in with their work account, and their role comes from Entra ID. Setup steps are in the README under Single sign-on with Microsoft Entra ID.

Use the Directory (tenant) ID from the app registration's Overview page.

The Application (client) ID from the same page.

Stored as a Worker secret: npx wrangler secret put OIDC_CLIENT_SECRET

Add this as a Web redirect URI in the app registration.

The login page shows "Sign in with …".

Role mapping

roles for app roles (recommended); groups for group object IDs.

App role values or group IDs, separated by commas.

People matching neither list can't sign in.

When off, an admin must add the agent first (matched by email).

When off, only admins can still sign in with a password, as a way back in if single sign-on stops working.

Add agent

Edit agent

Account

Bulk import agents

Columns: first_name, last_name, email, role (agent or admin, default agent), password (at least 10 characters; leave blank to generate a temporary one). Download an example file