-
Notifications
You must be signed in to change notification settings - Fork 233
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
error in secret or public key callback: The JWKS endpoint did not contain any signing keys #373
Comments
The keyObject here is coming empty. |
It wasn't you! It was jose panva/jose#579 |
"It" is neither jose nor jwks-rsa, it is in fact the reality of using Bun with fingers crossed hoping its compatibility with node's APIs and module resolution is without flaws. We can help resolve the issue in #374 but ultimately it's Bun's inability to have a CJS module's require() call resolve to the required module's #374 actually utilizes the fact that jose is a universal library with a bun entrypoint pointed to a build which uses WebCryptoAPI. In essence what you objected to in panva/jose#579 is indeed what will actually allow you to use jwks-rsa when #374 is merged. |
Checklist
Description
I am getting The JWKS endpoint did not contain any signing keys the keys are at https://api-dev.ploton.app/api/jwt/jwks.json
My code :-
Reproduction
I am doing curl request as.
Logs
jwks-rsa version
^3.0.1
Node.js version
v20.7.0
The text was updated successfully, but these errors were encountered: