how to resolve this secretOrPrivateKey must be an asymmetric key when using ES256
i am creating a jwt token with private key but receiving this error secretOrPrivateKey must be an asymmetric key when using ES256
i am creating a jwt token with private key but receiving this error secretOrPrivateKey must be an asymmetric key when using ES256