You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The jwt_auth_algorithm allows you to modify the signing algorithm.
I get errors:
<br />
<b>Warning</b>: openssl_sign(): supplied key param cannot be coerced into a private key in <b>C:\scripts.uusr.tk\wp-content\plugins\jwt-authentication-for-wp-rest-api\includes\vendor\firebase\php-jwt\src\JWT.php</b> on line <b>237</b><br />
<br />
<b>Fatal error</b>: Uncaught DomainException: OpenSSL unable to sign data in C:\OpenServer\domains\scripts.uusr.tk\wp-content\plugins\jwt-authentication-for-wp-rest-api\includes\vendor\firebase\php-jwt\src\JWT.php: 239
#5 \scripts.uusr.tk\wp-includes\rest-api.php(410): WP_REST_Server->serve_request( in <b>\scripts.uusr.tk\wp-content\plugins\jwt-authentication-for-wp-rest-api\includes\vendor\firebase\php-jwt\src\JWT.php</b> on line <b>239</b><br />
The text was updated successfully, but these errors were encountered:
I switched to RS256 as stated in the description
JWT_AUTH_ALGORITHM
The jwt_auth_algorithm allows you to modify the signing algorithm.
I get errors:
<br />
<b>Warning</b>: openssl_sign(): supplied key param cannot be coerced into a private key in <b>C:\scripts.uusr.tk\wp-content\plugins\jwt-authentication-for-wp-rest-api\includes\vendor\firebase\php-jwt\src\JWT.php</b> on line <b>237</b><br />
<br />
<b>Fatal error</b>: Uncaught DomainException: OpenSSL unable to sign data in C:\OpenServer\domains\scripts.uusr.tk\wp-content\plugins\jwt-authentication-for-wp-rest-api\includes\vendor\firebase\php-jwt\src\JWT.php: 239
Stack trace:
#0 \scripts.uusr.tk\wp-content\plugins\jwt-authentication-for-wp-rest-api\includes\vendor\firebase\php-jwt\src\JWT.php(202): Firebase\JWT\JWT: :sign()
#1 \scripts.uusr.tk\wp-content\plugins\jwt-authentication-for-wp-rest-api\public\class-jwt-auth-public.php(172): Firebase\JWT\JWT: :encode()
#2 \scripts.uusr.tk\wp-includes\rest-api\class-wp-rest-server.php(1181): Jwt_Auth_Public->generate_token()
#3 \scripts.uusr.tk\wp-includes\rest-api\class-wp-rest-server.php(1028): WP_REST_Server->respond_to_request()
#4 \scripts.uusr.tk\wp-includes\rest-api\class-wp-rest-server.php(442): WP_REST_Server->dispatch()
#5 \scripts.uusr.tk\wp-includes\rest-api.php(410): WP_REST_Server->serve_request( in <b>\scripts.uusr.tk\wp-content\plugins\jwt-authentication-for-wp-rest-api\includes\vendor\firebase\php-jwt\src\JWT.php</b> on line <b>239</b><br />
The text was updated successfully, but these errors were encountered: