https://github.com/lokicoule/nestjs-cognito
AWS Cognito utilities module for NestJS.
https://github.com/lokicoule/nestjs-cognito
amazon-cognito aws aws-cognito cognito nestjs nestjs-cognito typescript
Last synced: about 1 year ago
JSON representation
AWS Cognito utilities module for NestJS.
- Host: GitHub
- URL: https://github.com/lokicoule/nestjs-cognito
- Owner: Lokicoule
- License: mit
- Created: 2022-07-22T13:36:19.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-05-15T03:53:26.000Z (about 1 year ago)
- Last Synced: 2025-05-16T16:07:57.658Z (about 1 year ago)
- Topics: amazon-cognito, aws, aws-cognito, cognito, nestjs, nestjs-cognito, typescript
- Language: TypeScript
- Homepage: https://lokicoule.github.io/nestjs-cognito/
- Size: 26 MB
- Stars: 99
- Watchers: 1
- Forks: 7
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
[](https://coveralls.io/github/Lokicoule/nestjs-cognito?branch=main)
[](https://opensource.org/licenses/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](https://github.com/awslabs/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 | [](https://www.npmjs.com/package/@nestjs-cognito/core) |
| **@nestjs-cognito/auth** | Authentication module with guards and decorators | [](https://www.npmjs.com/package/@nestjs-cognito/auth) |
| **@nestjs-cognito/graphql** | GraphQL integration support | [](https://www.npmjs.com/package/@nestjs-cognito/graphql) |
| **@nestjs-cognito/testing** | E2E testing utilities for real-world Cognito authentication scenarios | [](https://www.npmjs.com/package/@nestjs-cognito/testing) |
## Installation
```bash
# 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](https://lokicoule.github.io/nestjs-cognito/).
## Resources
- [GitHub Repository](https://github.com/Lokicoule/nestjs-cognito)
- [AWS Cognito Documentation](https://docs.aws.amazon.com/cognito/latest/developerguide/what-is-amazon-cognito.html)
- [NestJS Documentation](https://docs.nestjs.com/)
## License
Distributed under the MIT License. See `LICENSE` for more information.