auth0-node-jwks-rs256 icon indicating copy to clipboard operation
auth0-node-jwks-rs256 copied to clipboard

JwksClient is throwing error when called using non-hardcoded URI options

Open sathyarajagopal opened this issue 4 years ago • 0 comments

The below code works
const clientAlt = jwksClient({ jwksUri: 'https:///<jwks_endpoint>' }); whereas the below doesn't const client = jwksClient({ jwksUri: constants.URLS.OIDC_JWKS_URL });

As you can see the only difference is in the second one, I am reading the URL from a constants variable instead of hardcoding it. Can you help?

sathyarajagopal avatar Sep 01 '20 21:09 sathyarajagopal