Comments (4)
@mcollina There is a package called get-jwt developed by Nearform in which we have already implemented caching for keys as a function and it integrates very well with fast-jwt too. Do you think we can just use get-jwt along with fast-jwt whenever caching is required?
from fast-jwt.
I think writing an example on how to use the two packages together is enough!
from fast-jwt.
We have that in the get-jwks docs but it needs to be updated to represent a more realistic scenario (dynamic token instead of static). @sameer-coder can you please take care of that?
from fast-jwt.
Async keys are supported by get-jwks package and it supports caching too. You can refer get-jwks docs for examples on integration with fast-jwt. Closing this issue.
from fast-jwt.
Related Issues (20)
- Release pending! HOT 1
- Release pending! HOT 1
- Feature request: Support time in string format similar to jsonwebtoken HOT 1
- Release pending!
- Inconsistent releases to npm HOT 1
- Release pending! HOT 1
- [type] `expriesIn` can be a string HOT 1
- Release pending!
- Release pending!
- TokenValidationErrorCode types do not overlap with TOKEN_ERROR_CODES from source HOT 1
- Security Issue - Request For Contact Details HOT 1
- TypeScript issue with verifier KeyFetcher HOT 5
- Release pending! HOT 1
- Wrong type for DecodedJwt.payload HOT 1
- createVerifier won't verify properly with RS256 HOT 8
- Release pending! HOT 1
- Release pending!
- Shared memory caching with cluster mode HOT 1
- requiredClaims: Not all claims are checked HOT 5
- Node 22 support HOT 6
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 fast-jwt.