TypeError: Key for the RS256 algorithm must be of type CryptoKey.
Unanswered
ABUL KALAM posted this in #help-forum
I have tried using
I am getting an issue with
I have tried generating keys using like 10 different methods but every time, I get this issue.
Here is my
next-firebase-auth-edge library to verify firebase token.I am getting an issue with
cookieSignatureKeys:TypeError: Key for the RS256 algorithm must be of type CryptoKey. Received an instance of Uint8ArrayI have tried generating keys using like 10 different methods but every time, I get this issue.
Here is my
middleware.ts file: