passport
jwt
passport | jwt | |
---|---|---|
2 | 4 | |
476 | 566 | |
0.0% | 1.6% | |
9.5 | 9.4 | |
about 18 hours ago | 3 days ago | |
TypeScript | TypeScript | |
MIT License | 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.
jwt
-
Learning to build an API in NestJS (Node + Typescript) - Part 03
NestJS has a JwtModule we can install (docs). ❤️
-
Does the given phrase sound rude to native speakers?
And your explanation is exactly what I wanted to say =) here: https://github.com/nestjs/jwt/issues/798
-
NestJS did not care about numerous gross mistakes in the tests
And what did I see in the tests of this module? - "Horror!" Because of this I opened the corresponding issue on github. Tests are not just written with small inconspicuous mistakes, such as the lack of await before expect(), there is generally a hell of a lot, and in almost all tests.
What are some alternatives?
passport-magic-login - Passwordless authentication with magic links for Passport.js.
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
nestjs-auth-rbac-starter - NestJS starter template with user authentication and role based access control for GraphQL
node-jsonwebtoken - JsonWebToken implementation for node.js http://self-issued.info/docs/draft-ietf-oauth-json-web-token.html
auth-nest-graphql - nest on top of fastify with mongo and graphql passwort jwt and bcrypt
nest-e-commerce-boilerplate - Backend for Ecommerce platform using Nest + PostgreSQL + TypeORM
-Building-a-mongodb-migration-system-for-NestJS-with-mongoose - A dev.to article on NestJS, mongoose and database migrations!
nest-websockets-chat-boilerplate - Realtime chat with rooms using Nest + Websockets
nestjs-ioredis - IORedis module for Nest
express-jwt-authentication - Simple and lightweight Express middleware written in TypeScript to easily handle user authentication with JWT.
Docker Swarm - Source repo for Docker's Documentation
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀