-
-
Notifications
You must be signed in to change notification settings - Fork 614
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v2.18.0 Incompatible with lcobucci/jwt ^3.4 #1114
Comments
The second proposal of @fracsi would solve the code incompatibility, but then it would invalidate the minimum php version of I am currently facing the same issue. I have temporarily solved this by downgrading to
But I am not very happy with that solution as I am not sure about all consquences of the downgrade to |
Why all the way down to 2.10? Why couldn't you just pin to 2.17? |
Thank you! I was too blind to see there's a more suitable version for downgrading... |
I'm going to fix this tomorrow, thanks for the report. |
Released in https://github.com/lexik/LexikJWTAuthenticationBundle/releases/tag/v2.18.1. Thanks for the report @fracsi and thanks @maxhelias for the quick fix! |
#1109 introduced
LooseValidAt
constraint from lcobucci/jwt, but the class only exists on4.0.x
and above, but the composer.json states that the bundle is compatible with:lcobucci/jwt: "^3.4|^4.0"
.Installing
lcobucci/jwt:^3.4
withlexik/jwt-authentication-bundle:v2.18.0
results in error:Error: Class "Lcobucci\JWT\Validation\Constraint\LooseValidAt" not found
Possible solutions:
LooseValidAt
class is available, if not useValidAt
class.lcobucci/jwt:^4.0
The text was updated successfully, but these errors were encountered: