{"repo":"Lokicoule/nestjs-cognito","free":true,"listed":false,"github":"https://github.com/Lokicoule/nestjs-cognito","clone":"git clone https://github.com/Lokicoule/nestjs-cognito.git","description":"AWS Cognito utilities module for NestJS.","language":"TypeScript","stars":110,"topics":["aws-cognito","nestjs","nestjs-cognito","amazon-cognito","aws","cognito","typescript"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"AWS Cognito authentication for NestJS Stop writing boilerplate. Protect your routes with a decorator. --- What is this? You're building a NestJS app. You chose AWS Cognito for authentication. Now you need to verify JWT tokens, handle multiple user pools, extract tokens from headers or cookies, and implement role-based authorization. You could spend days writing boilerplate. Or you could use this. One decorator protects your routes. Built on aws-jwt-verify. Why use this? - Fast setup — 5 minutes from install to protected routes - Type-safe — Full TypeScript support - Production-ready — Built on AWS's official JWT verification library - Zero boilerplate — Decorators replace hundreds of lines - Flexible — REST, GraphQL, cookies, multiple user pools, custom extractors - Testable — Mock and E2E test utilities included Quick start Install: Configure: Protect routes: Done. Packages Package What it does npm --------- -------------- ----- @nestjs-cognito/core JWT verification, token extraction @nestjs-cognito/auth Decorators, guards, authorization @nestjs-cognito/graphql GraphQL authentication @nestjs-cognito/testing Mock and E2E test utilities Examples Role-based authorization Public routes with optional auth GraphQL Multiple user pools Cookie authentication Testing Contributing Found a bug? Have an idea? Pull requests are welcome. 1. Fork the repo 2. Create your feature branch 3. Commit your changes 4. Push and open a PR See CONTRIBUTING.md for details. Documentation Full documentat","default_branch":null,"files":null,"tree":[],"storefront":"/r/Lokicoule","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Lokicoule/nestjs-cognito/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}