Skip to content

Commit 6608aae

Browse files
Merge pull request #2692 from jrnxf/patch-1
Update passport.md
2 parents b647f77 + 36bd505 commit 6608aae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/recipes/passport.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ export class AppController {
752752
}
753753
```
754754

755-
Once again, we're applying the `AuthGuard` that the `@nestjs/passport` module has automatically provisioned for us when we configured the passport-jwt module. This Guard is referenced by its default name, `jwt`. When our `GET /profile` route is hit, the Guard will automatically invoke our passport-jwt custom configured logic, validating the JWT, and assigning the `user` property to the `Request` object.
755+
Once again, we're applying the `AuthGuard` that the `@nestjs/passport` module has automatically provisioned for us when we configured the passport-jwt module. This Guard is referenced by its default name, `jwt`. When our `GET /profile` route is hit, the Guard will automatically invoke our passport-jwt custom configured strategy, validate the JWT, and assign the `user` property to the `Request` object.
756756

757757
Ensure the app is running, and test the routes using `cURL`.
758758

0 commit comments

Comments
 (0)