Error: No auth token - is not set as Error
See original GitHub issueIf there is no Authentication header, the passport.authenticate()
-callback gets set the info parameter to Error: No auth token
. But the 1st error parameter is undef.
Shouldn’t the error parameter be an error if an error occurs?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
No auth token - is not set as Error · Issue #160 - GitHub
If there is no Authentication header, the passport.authenticate()-callback gets set the info parameter to Error: No auth token.
Read more >No auth token on service query even after success login
Querying using postman works but querying using nuxtjs returns the message No auth token. I have already opened a ticket on github repo....
Read more >Troubleshoot Invalid Token Errors - Auth0
If you don't ask for an access token when authenticating, you will receive the following error: The id_token cannot be validated because it...
Read more >Resolve API Gateway REST API 403 “Missing Authentication ...
API Gateway REST API endpoints return Missing Authentication Token errors for the following reasons: The API request is made to a method or ......
Read more >Access Token Error Response and Codes - Tutorialspoint
Access token is a type of token that is assigned by the authorization server. The authorization server issues the access token, if the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mikenicholson
That documenation states that
fail()
should be called with arguments of typesString, Number
, anderror()
with argument of typeError
. You, however, pass an Error object tofail()
.Perhaps, instead of
you should be doing
?
@jerroydmoore I really like the idea of switching to an extractor function that accepts a
done
callback rather than simply returning the JWT.I’ll probably have to wait until I get some time around the holidays to get around this but PR’s are welcome if they maintain the existing level of test coverage.