ecommerce-backend
auth-nest-graphql
Our great sponsors
ecommerce-backend | auth-nest-graphql | |
---|---|---|
1 | 1 | |
46 | 13 | |
- | - | |
0.0 | 0.5 | |
almost 2 years ago | over 2 years ago | |
TypeScript | TypeScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ecommerce-backend
-
Implement Refresh Token Automatic Reuse Detection without cluttering your database
To implement Refresh Token Rotation Automatic Reuse Detection without storing all refresh tokens descending from the original one you can create a tokenFamily property in your database model and check for unregistered descendants. I did not go into full details on how I implemented the whole authentication process in this article, but if you want you can check the source code in the project's repository in GitHub
auth-nest-graphql
What are some alternatives?
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
passport - Passport module for Nest framework (node.js) 🔑
nest-auth-example - Nest.js authentication with Passport. Realworld example
graphql - GraphQL (TypeScript) module for Nest framework (node.js) 🍷
nestjs-auth-rbac-starter - NestJS starter template with user authentication and role based access control for GraphQL
nestjs - A collection of badass modules and utilities to help you level up your NestJS applications 🚀
nestjs-cerbos - This demo project demonstrates how to use Cerbos in NestJS as an interceptor to validate requests based on policies defined in Cerbos.
react-auth-kit - Powerful Auth Management library for ReactJs-based applications
nestjs-account-graphql - NestJS and GraphQL based project simulating an account service with permission control
aws-jwt-verify - JS library for verifying JWTs signed by Amazon Cognito, and any OIDC-compatible IDP that signs JWTs with RS256, RS384, and RS512
nexus-shield - 🛡 Nexus plugin to ease the creation of the authorization layer