-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation for Authentication for JWT #833
Comments
@Tyler-V Idk If I get you, but point of usage |
@cojack inspecting the definition, it looked like it was looking for a type or key. You are right it is a strategy name the scheme set still comes from It is (and still is) unclear to me where the strategies in |
Let's track this issue here nestjs/docs.nestjs.com#99 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I'm submitting a...
Current behavior
https://docs.nestjs.com/techniques/authentication
Current documentation shows the use of 'jwt' as the scheme set
@UseGuards(AuthGuard('jwt'))
https://github.com/themikenicholson/passport-jwt
However suggests
Authorization: bearer JSON_WEB_TOKEN_STRING.....
Expected behavior
Which is the standard? Should we use
@UseGuards(AuthGuard('bearer'))
?The text was updated successfully, but these errors were encountered: