Comments (2)
Okay, I ve been thinking about this, this was always the intended behavior,
it verifies the things you want to verify.
Maybe we can add an extra option, "strict" defaults to true. If is in
strict mode audience, issuer and all that are required parameters, if
strict is false these parameters are not required and if not provided then
are not verified.
Make sense?
from node-jsonwebtoken.
Sorry, I didn't understand the bug first. Now I got it and you are right,
thanks
from node-jsonwebtoken.
Related Issues (20)
- Error with verifying access token HOT 1
- sign token is not equal with https://jwt.io/ HOT 1
- Security Vuln In Semver Dependency HOT 6
- It seems that there is unnecessary code in the branching using hasSignature and secretOrPublicKey in verify.js. HOT 1
- What if the refresh token is compromised HOT 2
- Version 9.0.1 fails with a number of errors when { algorithms: ['none'] } is passed
- TypeError: validator.isValid is not a function HOT 3
- Request to Contribute: Signing using Managed Keys
- README.md inappropriately references functions as asynchronous when they are in fact all synchronous with inline callback support HOT 4
- Vulnerability / Unexpected Token Verification Behavior with Private Key HOT 7
- import jwt from 'jsonwebtoken' throwing an error HOT 3
- Error on load, Error: Cannot find module './lodash' HOT 1
- Cyrillic characters HOT 2
- TypeError: Right hand side of instanceof is not an object HOT 11
- Navbar is Not working Properly [Issue] HOT 1
- Jsonwebtoken don't support verbatimModuleSyntax typescript compiler option
- How to prevent users with expired JWTs from receiving Firebase Cloud Messaging notifications after automatic logout?
- Performance regression on crypto `createPublicKey` and `createPrivateKey` APIs after node v17 HOT 1
- `sign` crashes with `validator.isValid is not a function` for certain objects HOT 2
- why need two keys ? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-jsonwebtoken.