I’m trying to connect Login with Epic Account, so when I play without EpicStore, EOS Login is working very well, develop and accountportal but when I tried to play game on Epic Launcher, so get login complete call, but there is “DummyAuthTicket” and dummy id [ looks like pc id ]
Do I need set other options? or code is wrong?
here is log and my code / Unreal 5.3
{“puid”:“NDUS-REV-0B7B06EA494F64604C4431A5DE604FE2”,“authToken”:“DummyAuthTicket”}
void UEOSSubsystem::Login()
{
if (OnlineSubsystem)
{
if (IOnlineIdentityPtr Identity = OnlineSubsystem->GetIdentityInterface())
{
Identity->OnLoginCompleteDelegates->AddUObject(this, &UEOSSubsystem::OnLoginComplete);
Identity->AutoLogin(0);
}
}
}
void UEOSSubsystem::OnLoginComplete(int LocalUserNum, bool bWasSuccessful, const FUniqueNetId& UserId,
const FString& Error)
{
bIsLoggedIn = bWasSuccessful;
if (OnlineSubsystem)
{
if (IOnlineIdentityPtr Identity = OnlineSubsystem->GetIdentityInterface())
{
Identity->ClearOnLoginCompleteDelegates(0,this);
if (OnLoginCompleteDelegate.IsBound())
{
auto id = Identity->GetUniquePlayerId(LocalUserNum)->ToString();
auto Token = Identity->GetAuthToken(LocalUserNum);
OnLoginCompleteDelegate.Execute(id,Token);
OnLoginCompleteDelegate.Unbind();
}
}
}
}