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
Invalid tokens might be null: https://github.com/auth0/node-jsonwebtoken/blob/5f10bf9957a2541828501cfecab0310908b2f62f/decode.js#L6
That is why this code throws Cannot read property 'header' of null
Cannot read property 'header' of null
azure-ad-verify-token/src/verify.ts
Lines 54 to 55 in b0fbe8c
Instead, it would make sense to throw an 'invalid token' error like here: https://github.com/auth0/node-jsonwebtoken/blob/5f10bf9957a2541828501cfecab0310908b2f62f/verify.js#L75
'invalid token'
The text was updated successfully, but these errors were encountered:
Pushed; Will be updated in next release 🎉
Sorry, something went wrong.
No branches or pull requests
Invalid tokens might be null:
https://github.com/auth0/node-jsonwebtoken/blob/5f10bf9957a2541828501cfecab0310908b2f62f/decode.js#L6
That is why this code throws
Cannot read property 'header' of null
azure-ad-verify-token/src/verify.ts
Lines 54 to 55 in b0fbe8c
Instead, it would make sense to throw an
'invalid token'
error like here:https://github.com/auth0/node-jsonwebtoken/blob/5f10bf9957a2541828501cfecab0310908b2f62f/verify.js#L75
The text was updated successfully, but these errors were encountered: