If you are distributing through the Epic Games Store, you should use the exchange_code provided as a launch argument to perform EOS_Auth_Login, which will allow you to authenticate as the user who launched the game from the launcher. There will be no need to implement logout workflows, as this…
https://dev.epicgames.com/community/learning/knowledge-base/KJOke/epic-online-services-how-do-you-implement-logging-out-of-epic-accounts