passport
dev.to
passport | dev.to | |
---|---|---|
2 | 1 | |
476 | 16 | |
0.0% | - | |
9.5 | 0.0 | |
3 days ago | about 1 year 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.
dev.to
-
Setting Up Sessions with NestJS, Passport, and Redis
All of the code will be available to follow along with and run here. Just note that to run it after you clone and run the install for the repo, you'll need to cd blog-posts/nestjs-passport-sessions and then run nest start --watch yourself. Just a side effect of how the repo is set up for my dev.to blogs.
What are some alternatives?
passport-magic-login - Passwordless authentication with magic links for Passport.js.
tmux - tmux source code
nestjs-auth-rbac-starter - NestJS starter template with user authentication and role based access control for GraphQL
libcurl - A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl offers a myriad of powerful features
auth-nest-graphql - nest on top of fastify with mongo and graphql passwort jwt and bcrypt
Docker Swarm - Source repo for Docker's Documentation
-Building-a-mongodb-migration-system-for-NestJS-with-mongoose - A dev.to article on NestJS, mongoose and database migrations!
postman-app-support - Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
jwt - JWT utilities module based on the jsonwebtoken package 🔓
insomnia - The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
nestjs-ioredis - IORedis module for Nest