ydb-platform/ydb-php-sdk

Fix jwt iam authorization

rekby opened this issue · 2 comments

rekby commented

jwt used for "static access key" and for "service account file" auth methods.

Fatal error: Class YdbPlatform\Ydb\Jwt\Signer\Sha256 contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Lcobucci\JWT\Signer\OpenSSL::guardAgainstIncompatibleKey) in /Users/rekby/projects/yandex/ydb-php-examples/vendor/yandex-cloud/ydb-php-sdk/src/Jwt/Signer/Sha256.php on line 12

Or you can lock version it in your project

composer require lcobucci/jwt 4.1.5