passport
nestjs-ioredis
passport | nestjs-ioredis | |
---|---|---|
2 | 1 | |
476 | 26 | |
0.0% | - | |
9.5 | 3.9 | |
1 day ago | 2 months 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.
passport
-
NextAuth with external API that provides access and refresh JWT HttpOnly cookies
/signin sets the Access- (Max-Age: 240) and Refresh token cookie (Max-Age: 60000) /refresh sets a new Access token Cookie The UseGuards use the Passport 'jwt' and 'jwt-refresh-token' guards
-
Setting Up Sessions with NestJS, Passport, and Redis
Like most @nestjs/ packages, the @nestjs/passport package is mostly a thin wrapper around passport, but Nest does do some cool things with the passport package that I think are worth mentioning. First, the AuthGuard mixin. At first glance, this mixin may look a little intimidating, but let's take it chunk by chunk.
nestjs-ioredis
-
which redis should I use?
I also reviewed options on GitHub and this one (nestjs-ioredis) seems to have a cleaner API and also (important in my case) enables you to have multiple (named) connections to different Redis nodes.
What are some alternatives?
passport-magic-login - Passwordless authentication with magic links for Passport.js.
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
nestjs-auth-rbac-starter - NestJS starter template with user authentication and role based access control for GraphQL
typeorm - TypeORM module for Nest framework (node.js) 🍇
auth-nest-graphql - nest on top of fastify with mongo and graphql passwort jwt and bcrypt
nestjs-typegoose - Typegoose with NestJS
-Building-a-mongodb-migration-system-for-NestJS-with-mongoose - A dev.to article on NestJS, mongoose and database migrations!
graphql - GraphQL (TypeScript) module for Nest framework (node.js) 🍷
jwt - JWT utilities module based on the jsonwebtoken package 🔓
docs.nestjs.com - The official documentation https://docs.nestjs.com 📕
Docker Swarm - Source repo for Docker's Documentation
tmux - tmux source code