Skip to main content

For Patients

Self-register with email and password to access patient portal and healthcare services.

For Providers

Use pre-created accounts with secure login to access provider dashboards and clinical tools.

For Administrators

Access administrative functions and manage user accounts through secure authentication.

Core Features

Unified Login System

  • Single Auth Page: One authentication URL for all user roles (patients, providers, admins)
  • Email/Password Auth: Standard email and password authentication for all users
  • Role Detection: Automatically redirects users to appropriate dashboards based on their role
  • Session Management: Secure session handling with automatic timeout and renewal

User Account Management

  • Patient Self-Registration: Patients can create their own accounts during first visit or appointment booking
  • Pre-Created Provider Accounts: Healthcare providers receive pre-configured accounts from administrators
  • Admin Account Management: Administrators have pre-created accounts with full system access
  • Password Security: Strong password requirements with secure hashing and storage

Security Features

  • Encrypted Authentication: All login credentials encrypted in transit and at rest
  • Password Recovery: Secure password reset via email verification
  • Multi-Factor Ready: Foundation for adding MFA when required by organization

User Workflows

  • Patient Registration
  • Provider Login
  • Administrator Access
1

Access Registration

Patient visits registration page or is prompted during appointment booking
2

Enter Details

Provide email address, create secure password, basic information
3

Email Verification

Receive and click verification link sent to email address if enabled in Supabase
4

Complete Setup

Login and complete patient profile setup and intake process
5

Access Portal

Redirected to patient dashboard with full access to healthcare services

Usual Component Interactions

The Authentication component serves as the foundation for all other healthcare components: Core Integration:
  • Patient Dashboard: Authenticates patients and provides access to their healthcare portal
  • Provider Dashboard: Validates provider credentials and grants access to clinical tools
  • Admin Tools: Enables administrative access for user and system management
  • All Components: Provides secure user identity and role information across the entire system
Common Enhancements:
  • Patient Registration: Integrates with intake forms and appointment booking for seamless onboarding
  • Provider Management: Connects with scheduling and availability components for staff management
  • Role-Based Access: Works with authorization system to control feature access by user type

Implementation Examples

  • Custom Registration Flow
  • Provider Onboarding
Situation: You want patients to complete custom intake forms as part of registration.
"Integrate patient registration with my custom intake forms before they reach the dashboard. Create one page per question. Here are the intake questions I'd like to use: <your_questions>"