UE5 EOS Looping Login Overlay

Hello,

I’m trying to use EOS for my new multiplayer game, setting it up first so it’s fully integrated into our systems from the outset. The issue I’ve been trying to resolve is to do with the login.

This is the login code I’ve been using. I was using “accountportal” with blank ID and Token, but it produces essentially the same result. That being I’m stuck in a constant loop within the overlay without being able to login.

void UEOS_GameInstance::Login()
{
	if(OnlineSub)
	{
		if(const IOnlineIdentityPtr IdentityInterface = OnlineSub->GetIdentityInterface())
		{
			FOnlineAccountCredentials Credentials;
			Credentials.Id = "127.0.0.1:8081";
			Credentials.Token = "Dev";
			
			Credentials.Type= FString("developer");
			
			IdentityInterface->OnLoginCompleteDelegates->AddUObject(this, &UEOS_GameInstance::OnLoginComplete);
			
			IdentityInterface->Login(0, Credentials);
		}
	}
}

The Log repeats the same things over and over. This is the reoccuring output:

[2023.04.22-15.03.46:949][456]LogEOSSDK: LogEOSAuth: FTokenGrantRequestTask: Received ResultCode: EOS_Auth_CorrectiveActionRequired
[2023.04.22-15.03.46:965][458]LogEOSSDK: LogEOSAuth: UserAuthGenerated: Received FCorrectiveActionRequired ContinuationUrl=<Redacted> ContinuationToken=<Redacted>
[2023.04.22-15.03.46:965][458]LogEOSSDK: LogEOSAuth: LaunchAccountPortalWithOverlay: Launching with overlay: <Redacted>
[2023.04.22-15.03.46:965][458]LogEOSSDK: LogEOSOverlay: Overlay loading <Redacted> in instance 12942790523536
[2023.04.22-15.03.46:989][461]LogEOSSDK: LogEOSOverlay: Closing active browser [InstanceId=12942790523536, BrowserId=133, TabId=0]
[2023.04.22-15.03.46:989][461]LogEOSSDK: LogEOSOverlay: LoadURL result received. [Success=1, BrowserID=134]
[2023.04.22-15.03.46:989][461]LogEOSSDK: LogEOSAuth: FAccountPortalBrowserManager::Login: Load: 0
[2023.04.22-15.03.46:989][461]LogEOSSDK: LogEOSAuth: FAccountPortalBrowserManager::Login: Status: 0
[2023.04.22-15.03.47:449][519]LogEOSSDK: LogEOSOverlay: Received new texture handle. [Type=0, InstanceId=12942790523536, BrowserId=134, TabId=0, Previous=0000000000000000, New=0000000080002F02]
[2023.04.22-15.03.47:543][531]LogEOSSDK: LogEOSAuth: FAccountPortalBrowserManager::Login: Status: 1
[2023.04.22-15.03.47:992][588]LogEOSSDK: LogEOSAuth: FAccountPortalBrowserManager::Login: Status: 0
[2023.04.22-15.03.47:992][588]LogEOSSDK: LogEOSAuth: FAccountPortalBrowserManager::Login: Status: 1
[2023.04.22-15.03.48:552][660]LogEOSSDK: LogEOSAuth: FAccountPortalBrowserManager::Login: Status: 0
[2023.04.22-15.03.48:552][660]LogEOSSDK: LogEOSAuth: FAccountPortalBrowserManager::Login: Status: 1
[2023.04.22-15.03.48:764][687]LogEOSSDK: LogEOSAuth: FAccountPortalBrowserManager::completeScopeConsentLogin: Received
[2023.04.22-15.03.48:764][687]LogEOSSDK: LogEOSAuth: FAccountPortalBrowserManager::FAccountPortalBrowserStateData::Finish: [Login] Finishing with result: EOS_Success
[2023.04.22-15.03.48:764][687]LogEOSSDK: LogEOSAuth: LaunchAccountPortalWithOverlay: Overlay returned success
[2023.04.22-15.03.48:764][687]LogEOSSDK: LogEOSAuth: UserAuthGenerated: Account Portal overlay succeeded without an auth code; falling back to continuation token
[2023.04.22-15.03.48:771][688]LogEOSSDK: LogEOSOverlay: Closing browser [InstanceId=12942790523536, BrowserId=134, TabId=0]
[2023.04.22-15.03.48:936][709]LogEOSSDK: Warning: LogEOS: Error response received from backend. ServiceName=[OAuth], OperationName=[TokenGrantv2], Url=[<Redacted>], HttpStatus=[400], ErrorCode=[errors.com.epicgames.oauth.corrective_action_required], NumericErrorCode=[18206], ErrorMessage=[Corrective action is required to continue.], CorrId=[EOS-L8wfVe1Jl0KnlddI2z9VIA-fF_YY9AYUUmc78uR6Cfn0w-1WdgnBdWCUatqw_7USRl4A]

I’m new to EOS so I have literally no clue what this means, I hope that someone here can help.

I am facing the same Issue, you resolved it?

Hey,

I did manage to fix it. I was contacted by someone who has having the same issue and their solution worked for me:

EOS and EOSPlus Overlay loop (epicgames.com)

2 Likes

I can admit that going to Epic Dev Portal → Epic Account Services and disable “Country” solved the problem.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.