public function validateIdentity($attributes, $params)
    {
        // Search the database for a user with that information
        $metadata = UserMetadata::model()->findByAttributes(array(
            'key' => $this->provider.'Provider',
            'value' => $this->adapter->identifier
        ));

        // Return an error if we didn't find them
        if ($metadata == NULL)
        {
            $this->addError('adapter', Yii::t('HybridAuth.main', 'Unable to determine local user for identity'));
            return false;
        }

        // Otherwise load that user
        $this->_user = Users::model()->findByPk($metadata->user_id);
        if ($this->_user == NULL)
        {
            $this->addError('adapter', Yii::t('HybridAuth.main', 'Unable to determine local user for identity'));
            return false;
        }

        // And return true
        return true;
    }