You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/techniques/authentication.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -395,8 +395,8 @@ We're ready to move on to the JWT portion of our auth system. Let's review and r
395
395
We'll need to install a couple more packages to support our JWT requirements:
396
396
397
397
```bash
398
-
$ npm install @nestjs/jwt passport-jwt
399
-
$ npm install @types/passport-jwt --save-dev
398
+
$ npm install --save @nestjs/jwt passport-jwt
399
+
$ npm install --save-dev @types/passport-jwt
400
400
```
401
401
402
402
The `@nestjs/jwt` package (see more [here](https://github.com/nestjs/jwt)) is a utility package that helps with JWT manipulation. The `passport-jwt` package is the Passport package that implements the JWT strategy and `@types/passport-jwt` provides the TypeScript type definitions.
0 commit comments