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

Updated dependencies #24

Merged
merged 2 commits into from
Mar 30, 2021
Merged

Updated dependencies #24

merged 2 commits into from
Mar 30, 2021

Conversation

joawan
Copy link
Member

@joawan joawan commented Mar 30, 2021

No description provided.

@joawan joawan requested a review from zamzterz March 30, 2021 08:59
Copy link
Contributor

@zamzterz zamzterz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

jwksClient = {
getSigningKey: async function jwksFetchStaticKey(keyId) {
assert.ok(keys[keyId], new errors.IntrospectionError('Unable to find key'));
return { key: keyId, rsaPublicKey: keys[keyId], getPublicKey: () => keys[keyId] };
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like only getPublicKey is used, can rsaPublicKey be removed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, probably. Left it as it is in the key object that the jwks client returns too.

@joawan joawan merged commit e78becf into master Mar 30, 2021
@joawan joawan deleted the dep-update branch March 30, 2021 09:27
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

Successfully merging this pull request may close these issues.

2 participants