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

Uncaught type error when signingKey is missing a key property #135

Closed
KalleV opened this issue Oct 9, 2019 · 0 comments
Closed

Uncaught type error when signingKey is missing a key property #135

KalleV opened this issue Oct 9, 2019 · 0 comments

Comments

@KalleV
Copy link

KalleV commented Oct 9, 2019

Description

The library throws an uncaught exception instead of passing an error to the callback when the signingKey "key" property is missing.

Reproduction

Configure the strategy with the "signingKey" property and specify the "cert" but not the "key". For example:

{
  signingKey: {
    cert: 'awebrewobuwebao'
  }
}
@KalleV KalleV closed this as completed Oct 9, 2019
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