storage->get($this->providerId . '.user'); $userProfile->identifier = !empty($userProfile->identifier) ? $userProfile->identifier : $userProfile->email; $userProfile->emailVerified = $userProfile->email; // re store the user profile $this->storage->set($this->providerId . '.user', $userProfile); } }