Architecture
Learn how to design and architect your application with Optare.
Guides
B2B SaaS Architecture
Design patterns for multi-tenant B2B applications.
Authentication Flows
OAuth 2.0 flows and when to use each one.
Security Model
How Optare secures your users and data.
Data Model
Entity relationships in the Optare system.
Key Concepts
Token-Based Architecture
Optare uses OAuth 2.0 with JWT tokens:
User → Login → Access Token + Refresh Token → API RequestsMulti-Tenant Data Model
User ←→ Membership ←→ Organization
↓
Subscription
↓
ProductSecurity Layers
- Authentication - Who is the user?
- Authorization - What can they do?
- Tenant Isolation - Which data can they access?