Skip to content

Lokicoule/nestjs-cognito

Repository files navigation

NestJS-Cognito

Coverage Status License: MIT

Overview

@nestjs-cognito is a powerful, type-safe library that provides seamless integration of AWS Cognito authentication into NestJS applications. Built on top of aws-jwt-verify, it offers robust token verification and comprehensive authentication solutions.

Packages

Package Description Version
@nestjs-cognito/core Core functionality and AWS Cognito integration npm version
@nestjs-cognito/auth Authentication module with guards and decorators npm version
@nestjs-cognito/graphql GraphQL integration support npm version
@nestjs-cognito/testing E2E testing utilities for real-world Cognito authentication scenarios npm version

Installation

# Core and authentication modules
npm install @nestjs-cognito/core @nestjs-cognito/auth

# Optional: GraphQL support
npm install @nestjs-cognito/graphql

# Optional: Testing utilities
npm install -D @nestjs-cognito/testing

Documentation

For detailed documentation, examples, and advanced usage, visit our Documentation Site.

Resources

License

Distributed under the MIT License. See LICENSE for more information.