You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bundle version: 6.x-dev Symfony version: 6.2.0 PHP version: 8.1 Using authenticators (enable_authenticator_manager: true): NO
Description
The private method validationConstraints() in Scheb\TwoFactorBundle\Security\TwoFactor\Trusted uses Constraints\ValidAt() class under Lcobucci\JWT\Validation\Constraint. The latest 4.* version of lcobucci/jwt replaced ValidAt() with two similar classes: LooseValidAt and StrictValidAt. A reminder was found in the validationConstraints() method to change it when lcobucci/jwt is changed.
JwtTokenEncoder:
private function validationConstraints(): iterable
{
yield new Constraint\SignedWith($this->configuration->signer(), $this->configuration->signingKey());
yield new Constraint\ValidAt($this->clock); // replace with LooseValidAt once dependency on lcobucci/jwt is bumped up
yield from $this->configuration->validationConstraints();
}
The text was updated successfully, but these errors were encountered:
Bundle version: 6.x-dev
Symfony version: 6.2.0
PHP version: 8.1
Using authenticators (
enable_authenticator_manager: true
): NODescription
The private method
validationConstraints()
inScheb\TwoFactorBundle\Security\TwoFactor\Trusted
usesConstraints\ValidAt()
class underLcobucci\JWT\Validation\Constraint
. The latest 4.* version oflcobucci/jwt
replacedValidAt()
with two similar classes:LooseValidAt
andStrictValidAt
. A reminder was found in thevalidationConstraints()
method to change it whenlcobucci/jwt
is changed.JwtTokenEncoder:
The text was updated successfully, but these errors were encountered: