yii2-jwt icon indicating copy to clipboard operation
yii2-jwt copied to clipboard

A simple Yii2 component to work with JSON Web Token and JSON Web Signature

Results 12 yii2-jwt issues
Sort by recently updated
recently updated
newest added

we are getting below error, lcobucci/jwt[3.3.0, ..., 3.3.x-dev] require php ^5.6 || ^7.0 -> your php version (8.1.7) does not satisfy that requirement. - sizeg/yii2-jwt[v2.0.0, ..., v2.0.2] require lcobucci/jwt ~3.3.0...

Hello, i've 2 tables for representated users in my App, 1st "Users" table and 2nd one "Members", i've created Members model implement IdentityInterface, i want every hit API, authenticator check...

dxd,麻烦升级下依赖,支持php8的,多谢

Some libs require new version of lcobucci/jwt, for example kreait/firebase-php. Is it possible to add support for new version?

enhancement

i just moved to sizeg/yii2-jwt: ^4.0-beta. i'ts showing error **Setting unknown property: sizeg\jwt\Jwt::key** { "name": "Unknown Property", "message": "Setting unknown property: sizeg\\jwt\\Jwt::key", "code": 0, "type": "yii\\base\\UnknownPropertyException", "file": "/var/www/html/ng-crm/yiiapp/vendor/yiisoft/yii2/base/Component.php", "line": 209,...

Hi! Sorry, I'm new to PHP. I think this issue might be because of autoloading? Error: ``` "name": "Unknown Property", "message": "Setting unknown property: sizeg\\jwt\\Jwt::jwtValidationData", "code": 0, "type": "yii\\base\\UnknownPropertyException", "file":...

How to make sure if token has expired on validation? I need to do something only when token is already expired

Compatiblity with PHP 8.1 `During inheritance of JsonSerializable: Uncaught yii\\base\\ErrorException: Return type of Lcobucci\\JWT\\Claim\\Basic::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily...

Version 4.0-beta returns error code 500 instead of 401 when token is expired: The token violates some mandatory constraints, details: - The token is expired