Skip to content
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

Add option to pass prefetched json content #60

Closed
wants to merge 1 commit into from

Conversation

artemave
Copy link

Work around for #29

Usage example:

const httpism = require('httpism')

...
const jwksContent = await httpism.get('https://xyz.eu.auth0.com/.well-known/jwks.json')
const client = jwksClient({
  jwksContent
})
client.getSigningKey(header.kid, function(err, key) {
  ...

@artemave
Copy link
Author

A bit more info on the problem. The error is thrown by the request http client that for some reason does not like auth0 tls setup. Demo:

@stale
Copy link

stale bot commented Oct 26, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇‍♂️

@stale stale bot added the closed:stale Issue or PR has not seen activity recently label Oct 26, 2019
@Somebi
Copy link

Somebi commented Oct 29, 2019

bump

@stale stale bot removed the closed:stale Issue or PR has not seen activity recently label Oct 29, 2019
@stale
Copy link

stale bot commented Jan 27, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇‍♂️

@stale stale bot added the closed:stale Issue or PR has not seen activity recently label Jan 27, 2020
@stale stale bot closed this Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed:stale Issue or PR has not seen activity recently
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants