Authentication Model
The portal uses passwordless authentication via email OTP (One-Time Password):- Member enters their email address
- A 6-digit code is sent to their inbox
- The code is valid for a limited time window
- Upon verification, a portal token is issued
Portal Tokens
| Property | Value |
|---|---|
| Token type | UUID v4 |
| Default expiry | 90 days from issuance |
| Storage | member_portal_tokens table |
| Scope | Single member, single tenant |
| Revocation | Admin can delete token to revoke access |
Tenant Slug
Each organization has a unique slug used in the portal URL. This ensures:- Visitors register to the correct church
- All data queries are scoped to the tenant
- No cross-tenant data leakage
https://app.adoraplan.com/portal/register/gracechurch
Security Best Practices
Data Access Scope
Portal members can only access:- ✅ Their own profile
- ✅ Their own family members
- ✅ Public events for their tenant
- ✅ Their own roster assignments
- ✅ Their own prayer requests
- ❌ Other members’ profiles
- ❌ Admin functions
- ❌ Care request management
- ❌ Cross-tenant data
Related Guides
Visitor Registration
The registration and approval flow
Portal Overview
All portal features at a glance