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
Hello, using the apple login with this bundle I have this server error:
Serialization of 'Closure' is not allowed
The error is triggered from
/vendor/symfony/security-guard/Authenticator/GuardBridgeAuthenticator.php in serialize at line 78
thrownew \UnexpectedValueException(sprintf('The return value of "%1$s::getCredentials()" must not be null. Return false from "%1$s::supports()" instead.', get_debug_type($this->guard)));
}
// get the user from the GuardAuthenticatorif (class_exists(UserBadge::class)) {
$user = newUserBadge('guard_authenticator_'.md5(serialize($credentials)), function () use ($credentials) { return$this->getUser($credentials); });
} else {
// BC with symfony/security-http:5.1$user = $this->getUser($credentials);
}
The line is:
$user = newUserBadge('guard_authenticator_'.md5(serialize($credentials)), function () use ($credentials) { return$this->getUser($credentials); });
Can you help me to understand what is wrong? I'm using sf 5.3 with new authenticator system
enable_authenticator_manager: true
Thanks
The text was updated successfully, but these errors were encountered:
Hello, using the apple login with this bundle I have this server error:
Serialization of 'Closure' is not allowed
The error is triggered from
/vendor/symfony/security-guard/Authenticator/GuardBridgeAuthenticator.php in serialize at line 78
The line is:
Can you help me to understand what is wrong? I'm using sf 5.3 with new authenticator system
Thanks
The text was updated successfully, but these errors were encountered: