-
Any advice? |
Beta Was this translation helpful? Give feedback.
Answered by
panva
Jan 23, 2024
Replies: 2 comments 5 replies
-
I'd love to help you but not without substantial effort on your end better explaining things in detail. |
Beta Was this translation helpful? Give feedback.
0 replies
-
To verify ID token I have following code that only works in Node:
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Because they're different crypto runtimes with different prerequisites and quirks. For instance the importPKCS8 documentation clearly states that the alg argument is only applicable in WebCryptoAPI runtimes, e.g. CF Workers, not Node. Then, Node.js crypto automatically extracts public keys from private ones when verifying, WebCryptoAPI doesn't.
Generally speaking more than single simple sentenses are needed from you if you want to get any help. For instance you have yet to provide any actual executable code sample, stack traces, context, links to docs explaining what and why you're doing.
To a very clear recent issue with accepted…