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

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

Open
sathyarajagopal opened this issue Sep 1, 2020 · 0 comments

Comments

@sathyarajagopal
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant