When I use an algorithm other than HS256 (e.g. HS512), PHP reports the following error:
Fatal error: Uncaught UnexpectedValueException: Algorithm not allowed in ...
I used the first example: https://github.com/firebase/php-jwt#example .
I'm using PHP 7.4, Ubuntu (WSL2).