okta / okta-sdk-php

PHP SDK for the Okta API
Apache License 2.0
38 stars 71 forks source link

Lcobucci\JWT 4 upgrade issues #122

Closed victornieto closed 3 years ago

victornieto commented 3 years ago

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.

bretterer commented 3 years ago

@victornieto this is a known issue and we have it in our list to take a look at.

internal ref: OKTA-389602

bretterer commented 3 years ago

This has been updated in the branch update_deps and will be released soon