You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JsonWebTokenError: error in secret or public key callback: The JWKS endpoint did not contain any signing keys
Additional information
The above code uses jsonwebtoken, jwks-rsa, and supertokens-node, but I believe the combination of jsonwebtoken and Bun v1.1.26 causes the above error. I suspect that Bun's JSON parser is broken.
The text was updated successfully, but these errors were encountered:
exKAZUu
changed the title
Bun v1.1.26 seems not to support JsonWebToken (jsonwebtoken package)
Bun v1.1.26 seems not to support JsonWebToken (jsonwebtoken package) (and supertokens-node package?)
Sep 2, 2024
exKAZUu
changed the title
Bun v1.1.26 seems not to support JsonWebToken (jsonwebtoken package) (and supertokens-node package?)
Bun v1.1.26 seems not to support JsonWebToken (jsonwebtoken package) (with supertokens-node package?)
Sep 2, 2024
exKAZUu
changed the title
Bun v1.1.26 seems not to support JsonWebToken (jsonwebtoken package) (with supertokens-node package?)
Bun v1.1.26 seems not to support JsonWebToken (jsonwebtoken package)
Sep 2, 2024
What version of Bun is running?
1.1.26+0a37423ba
What platform is your computer?
Darwin 23.6.0 arm64 arm
What steps can reproduce the bug?
I created a reporduction repo with reporduction steps: https://github.com/exKAZUu/bun-supertokens-issue
What is the expected behavior?
No errors occur same with
node main.mjs
(Node.js v20.17.0) on https://github.com/exKAZUu/bun-supertokens-issue.What do you see instead?
bun main.mjs
(Bun v1.1.26) on https://github.com/exKAZUu/bun-supertokens-issue shows the following error:Additional information
The above code uses
jsonwebtoken
,jwks-rsa
, andsupertokens-node
, but I believe the combination ofjsonwebtoken
and Bun v1.1.26 causes the above error. I suspect that Bun's JSON parser is broken.The text was updated successfully, but these errors were encountered: