nicumicle / simple-jwt-login

This plugin allows you to log in, register, authenticate, delete and change the user password to a WordPress website using a JWT.
http://wordpress.org/plugins/simple-jwt-login/
GNU General Public License v3.0
82 stars 22 forks source link

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

Closed razvanFrandes closed 1 year ago

razvanFrandes commented 1 year ago

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

razvanFrandes commented 1 year ago

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