Authentication

Authentication system documentation for the Momentum platform, including AWS Cognito configuration and social login setup.

Overview

Momentum uses AWS Cognito User Pools for authentication with support for:

  • Email/Password - Standard credential-based login
  • Social Login - Google, Facebook, Apple Sign-In
  • User Groups - admin, premium, free tiers

Architecture

User → Cognito User Pool → JWT Token → API Gateway → Lambda
                ↓
        Social Identity Providers
        (Google, Facebook, Apple)

Documentation

Setup Guides

Implementation

Bug Fixes

Frontend Auth Module

Location: frontend/lib/auth/

auth/
├── cognito-config.ts   # Cognito configuration
├── sign-up.ts          # Registration flow
├── sign-in.ts          # Login flow
├── session.ts          # Session management
├── password.ts         # Password reset
└── social-login.ts     # OAuth providers

Back to top

Momentum LMS © 2025. Distributed under the MIT license.