nicumicle/simple-jwt-login

openssl_sign(): supplied key param cannot be coerced into a private key

razvanFrandes opened this issue · 1 comments

Hello,

Plugin Version

Version: 3.5.0

PHP Version

Using Laragon
PHP : 7.4

WordPress Version

6.1.1

Bug description

I got his error for auth : openssl_sign(): supplied key param cannot be coerced into a private key in : simple-jwt-login\src\Libraries\JWT\JWT.php on line 227

May be the problem that I use the auth method on a local site that uses https?

Other installed plugins (optional)

None

My bad, In General settings I changed the algorithm to RS256