Using OSSv2 and Auth Connection

We are in the process of evaluating OSSv2 and one of the first things we have to do is login.

With OSSv1, we were able to log in

[OnlineSubsystemEOS]
bEnabled=true

[OnlineSubsystemEOSPlus]
bEnabled=true

[OnlineSubsystem]
DefaultPlatformService=EOSPlus
NativePlatformService=Steam

[/Script/OnlineSubsystemEOS.EOSSettings]
bUseEAS=False
bUseEOSConnect=True
bUseEOSRTC=True
bMirrorStatsToEOS=True
bMirrorAchievementsToEOS=True
bUseEOSSessions=True
bMirrorPresenceToEAS=False
bUseNewLoginFlow=False


with these settings which let us log in to EOS connect and not use EAS if we didn’t want to.

With OSSv2, I’m not seeing any way to support that login flow. It looks like one of the first things auto login does is attempt to auth with EAS, which throws up a ‘link account’ prompt to the screen. It looks like FAuthEOSGS might support it, but I don’t see any way to use that flow w/o modifying the plugin. Is there a way to use EOS connect and not use EAS with OSSv2?

Hello, FAuthEOSGS::Login does have a section for handling EAS Auth, however this can be toggled off so that the EOS_Connect_Login completes without using Epic Account Services.

Ensure that the OnlineServicesEOS is disabled as this performs EOS_Auth_Login, but OnlineServicesEOSGS is enabled, with the following set in your DefaultEngine.ini.

[OnlineServices.EOS.Auth]
EASAuthEnabled=false

https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Plugins/Online/OnlineServicesEOSGS/Source/Private/Online/AuthEOSGS.cpp\#L503

This pointed me in the right direction, but in addition to disabled the OnlineServicesEOS (and enabling OnlineServicesEOSGS), I also had to add to do the following

[OnlineSubsystem]
DefaultPlatformService=EOS
NativePlatformService=Steam
 
[OnlineServices.EOS.Auth]
EASAuthEnabled=false
 
 
[OnlineServices.OSSAdapter]
+Services=(Service="Steam",ConfigName="Steam",OnlineSubsystem="Steam",Priority=1000)