-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
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
How to load from file ? #158
Comments
Sketchy idea --> use a HTTP mock: https://github.com/nock/nock How would you handle key rotation though? The keys might change, which would necessitate fetching the jwks uri again |
Hi @HuEric, currently this library doesn't support fetching the keys from a file. I think this is something we should enable though, so I'll pick this one up hopefully later this week or early next week. Do note though that the library supports caching, which minimizes excessive calls to the JWKS endpoint. |
I would like to load jwks.json from file for AWS Lambda authorizer, avoiding to make unnecessary calls to Auth0 when receiving a lot of requests.
How could I achieve this ?
Thank you
The text was updated successfully, but these errors were encountered: