Seems "lcobucci/jwt": "^4.0@alpha" library has some breaking changes as explained in this post -> https://lcobucci-jwt.readthedocs.io/en/latest/upgrading/
Those changes are not implemented in class Okta\Utilities\PrivateKeyAuthentication which is trying to instantiate the Key interface $this->privateKey = new Key($privateKey); causing errors when the client is using PRIVATE_KEY authorization mode.
Seems
"lcobucci/jwt": "^4.0@alpha"
library has some breaking changes as explained in this post -> https://lcobucci-jwt.readthedocs.io/en/latest/upgrading/ Those changes are not implemented in class Okta\Utilities\PrivateKeyAuthentication which is trying to instantiate the Key interface$this->privateKey = new Key($privateKey);
causing errors when the client is using PRIVATE_KEY authorization mode.