Security & RBAC
Sign-in, MFA, session timeout, IP allowlist, per-page roles, and the audit log.
Last updated: September 30, 2026

Sign-in
Password sign-in with rate-limiting on the auth endpoints (10 attempts per IP per minute, exponential backoff after that). All sessions issue a short-lived JWT scoped to the org you signed in to. Multi-org members switch orgs from the top-bar menu — switching invalidates the previous JWT.
Multi-factor authentication
From Settings → Security → Require MFA for all members, an admin can turn on the org-wide MFA policy. Once on:
- Every member must enroll a TOTP (Google Authenticator / Authy / 1Password) on next sign-in.
- Recovery codes are generated at enrollment — store them somewhere safe.
- Sign-ins from unrecognized devices prompt for a code, even after enrollment.
Session timeout
Default 24 hours. Configurable from 5 minutes to 30 days under Settings → Security → Session timeout. After expiry the user is re-prompted to sign in. Active sessions can be revoked from the same page.
IP allowlist
Optionally restrict sign-in + API access to specific IPs or CIDR blocks. Comma- separated list under Settings → Security → Allowed IPs. Leave blank to allow any IP. Trusted-proxy headers (X-Forwarded-For, X-Real-IP) are honored only when the request originates from our reverse proxy.
Roles & permissions
Default roles: Admin, Editor, User, Viewer. From the avatar menu → Roles & Permissions, admins can toggle per-page access for each role. Permissions are per-org — membership in one org never grants you access to another.
A member can hold additional roles per surface (e.g. they're an Editor by default but additionally Admin on the Billing page). Set under the Members page → the member's row → Additional roles.
API keys
Admins create API keys under Settings → Security → API keys (scoped to the org). Keys carry the same permission set as the default Admin role and can be revoked anytime. Use them in the Authorization: Bearer <key> header. See API reference.
Audit log
Every administrative action writes a row to the audit log: member changes, plan changes, wallet movements, template edits, journey toggles, security setting changes. Visible to admins under Avatar menu → Audit log.
- Retention: 7 years on every plan.
- Filter by actor, action, resource type, or time window.
- Exportable as CSV.
- Each row includes IP and User-Agent for forensics.
Data isolation
- Every database query is scoped by
org_id. There is no platform-wide endpoint that crosses orgs except for the global-admin surface. - JWTs carry the
org_idclaim — a token from one org cannot read another's data even with a forged URL. - Webhook signature verification + replay-protection (HMAC-SHA256 with a 5-minute timestamp tolerance) on every payment-gateway webhook.
- Payment intents use atomic flip-then-credit to prevent double-spend on concurrent retries.
Incident response
Suspect compromise? From Settings → Security click Sign out everywhere. This revokes every active JWT for the account. Then email security@dialogplus.ai. We lock the account, run a forensic audit, and ship you a report at no cost.
Compliance posture
- GDPR + India DPDP — DPA available on request.
- SOC2 Type II — Q3 2026 target.
- PCI-DSS — handled by our gateway sub-processors (Razorpay L1, Stripe L1).
- Sub-processors listed at /legal/sub-processors.
What's next
- API reference — auth + idempotency + rate limits.
- Webhooks — signature verification.
- Privacy policy — what data we hold and how.