Uglyer
Uglyer
KKinde
Created by Uglyer on 5/25/2024 in #💻┃support
JWKS not containing any signing keys
@Oli - Kinde https://docs.kinde.com/integrate/webhooks/webhooks-nextjs/ This example is what I followed although I was using https://bun.sh/ with https://hono.dev/ instead of Nextjs
15 replies
KKinde
Created by Uglyer on 5/25/2024 in #💻┃support
JWKS not containing any signing keys
@Oli - Kinde Hey I'm sorry I never got back around to this. I haven't had time to create the example again but it was literally just following the example in the docs. The issue is with Bun and the jose package which is a dependency inside of the jwks-rsa package that is recommended in the docs in order to verify that webhook requests are coming from Kinde
15 replies
KKinde
Created by Uglyer on 5/25/2024 in #💻┃support
JWKS not containing any signing keys
Yes when using Bun but I've switched back to Nodejs for this project because of this issue
15 replies
KKinde
Created by Uglyer on 5/25/2024 in #💻┃support
JWKS not containing any signing keys
Confirmed its an issue with using Bun . The package jose doesn't work well with Bun yet and jose is used within jwks-rsa
15 replies
KKinde
Created by Uglyer on 5/25/2024 in #💻┃support
JWKS not containing any signing keys
This may be an issue with Bun. I just tried to verify the token with pnpm and it seemed to have worked.
15 replies
KKinde
Created by Uglyer on 5/25/2024 in #💻┃support
JWKS not containing any signing keys
Is this something that is set on Kinde's side when creating the jwks key?
15 replies
KKinde
Created by Uglyer on 5/25/2024 in #💻┃support
JWKS not containing any signing keys
@Oli - Kinde thanks for the reply! After some more testing and running the jwks-rsa code locally I've found that the CryptoKey returned is not extractable. My endpoint does return a json object with a keys value in it. However when it's fed into the jwks-rsa package it doesn't find a signing key. Apparently the CryptoKey is not extractable.
15 replies
KKinde
Created by Uglyer on 5/25/2024 in #💻┃support
JWKS not containing any signing keys
This is all through a custom webhook
15 replies