okta / okta-oidc-js

okta-oidc-js
https://github.com/okta/okta-oidc-js
Other
394 stars 232 forks source link

Typescript Options interface missing jwskUri property #1031

Open JakeGarrison opened 3 years ago

JakeGarrison commented 3 years ago

I'm submitting this issue for the package(s):

I'm submitting a:

Current behavior

Typescript error when attempting to provide custom jwksUri value in options.

Expected behavior

Options to include jwksUri parameter to fetch signing keys from custom endpoint.

Minimal reproduction of the problem with instructions

Extra information about the use case/user story you are trying to implement

Environment

shuowu commented 3 years ago

@JakeGarrison Thanks for reporting the issue! Internal Ref: OKTA-420060

JakeGarrison commented 3 years ago

There is also an issue where the 3rd parameter of the verifyAccessToken method is not flagged as optional and will require a verifiable nonce.