protected function loadUserByIdentity($identity)
 {
     $user = parent::loadUserByIdentity($identity);
     if ($user->getCanOpenId() === false) {
         throw new InsufficientAuthenticationException('Cet utilisateur ne supporte pas cette méthode de login');
     }
     return $user;
 }