We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm submitting a ... (check one with "x")
Current behavior: When the JWT token doesn't exist the Authorization is still added by the interceptor as follow: Authorization:Bearer null
Authorization:Bearer null
Expected behavior: The Header shouldnot be added if no JWT token is present
Steps to reproduce: Setup the NbAuthJWTInterceptor and send an http request
Related code: In NbAuthJWTInterceptor the following code
NbAuthJWTInterceptor
if (token) { const JWT = `Bearer ${token.getValue()}`; ...
should be changed to
if (token.isValid()) { const JWT = `Bearer ${token.getValue()}`; ...
The text was updated successfully, but these errors were encountered:
@Darkheir merged! Thanks for your contribution.
Sorry, something went wrong.
No branches or pull requests
Issue type
I'm submitting a ... (check one with "x")
Issue description
Current behavior:
When the JWT token doesn't exist the Authorization is still added by the interceptor as follow:
Authorization:Bearer null
Expected behavior:
The Header shouldnot be added if no JWT token is present
Steps to reproduce:
Setup the NbAuthJWTInterceptor and send an http request
Related code:
In
NbAuthJWTInterceptor
the following codeshould be changed to
The text was updated successfully, but these errors were encountered: