We are implementing federated authentication using Google & Facebook by referring below blog post,
User is able to logging but sitecore create user name as base64 string, So as suggested in blog we are trying to use "CreateUniqueUserName()" method of "Sitecore.Owin.Authentication.Services.DefaultExternalUserBuilder" class. But we are getting below error,
CS0618 'DefaultExternalUserBuilder.DefaultExternalUserBuilder(bool)' is obsolete: 'Use DefaultExternalUserBuilder(IHashEncryption hashEncryption) instead. Set IsPersistentUser through property setter.'
While I go to class definition i had found the constructor which i need to use is obsolete.
We are using Sitecore 9.0.2 version, Can anyone has gone through same issue? Is there any other way to use "CustomExternalUserBuilder" class ?