# EOS\_Connect\_Login using an Epic Account returns EOS\_Success even if a user has not been created for it on this game 

**URL:** <https://forums.unrealengine.com/t/eos-connect-login-using-an-epic-account-returns-eos-success-even-if-a-user-has-not-been-created-for-it-on-this-game/2858239>\
**Category:** Accounts & Social\
**Tags:** epic-online-services, question\
**Created:** [February 27, 2025, 4:29pm UTC](https://forums.unrealengine.com/t/eos-connect-login-using-an-epic-account-returns-eos-success-even-if-a-user-has-not-been-created-for-it-on-this-game/2858239 "2025-02-27T16:29:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [February 27, 2025, 4:29pm UTC](https://forums.unrealengine.com/t/eos-connect-login-using-an-epic-account-returns-eos-success-even-if-a-user-has-not-been-created-for-it-on-this-game/2858239/1 "2025-02-27T16:29:01Z")

</div>

Hello,

In our game we give users the option not to use an Epic Account. If they change their minds we offer the option to upgrade to an Epic Account later.

However, there is an issue with a particular scenario:

1. User chooses not to use an Epic Account so we create an EOS account using EOS\_Connect\_CreateUser using their platform account credentials

2. The user later decides to upgrade their account to an Epic Account. They return to the login screen and select Epic Account this time

3. We call EOS\_Auth\_Login to log them into their Epic Account.

4. Then we call EOS\_Connect\_Login using their Epic Account credentials. Since this is the first time they are using their Epic Account we expect this to return EOS\_InvalidUser.

5. If InvalidUser is returned we then call EOS\_Connect\_Login using the user’s platform account credentials.

6. If that returns EOS\_Success then we know this user previously played this game using a non Epic Account, but is now signing in using an Epic Account so we give them the option to link the two together.

7. If the player decides to link them then we call EOS\_Connect\_LinkAccount, passing in the Epic Account credentials.

This seemed to work as expected, however there is a case where this fails.

If the player has logged in to a different product of ours using an Epic Account, then step 4 returns EOS\_Success, even if this is the first time that player has played this particular game.

This means that we don’t get to offer them the chance to link their account to an existing one they have on this game, so they will end up with two different EOS accounts.

Firstly, is this expected behaviour? I’d have expected EOS\_Connect\_Login to fail if we have not called EOS\_Connect\_CreateUser or EOS\_Connect\_LinkAccount for a given Epic Account on this game.

If it is expected then what would be the recommended login flow to get around this problem?

Many thanks,

James

---

<div class="post-metadata">

**Author:** ![SebBergy2.0](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebbergy2.0/32/1214708_2.png) [@SebBergy2.0](https://forums.unrealengine.com/u/SebBergy2.0)\
**Post date:** [February 27, 2025, 8:30pm UTC](https://forums.unrealengine.com/t/eos-connect-login-using-an-epic-account-returns-eos-success-even-if-a-user-has-not-been-created-for-it-on-this-game/2858239/2 "2025-02-27T20:30:34Z")

</div>

Hi James,

I can reproduce this, and to my knowledge this is not expected behavior. I’m reaching out to our engineering team.

Thanks,

Seb

---

<div class="post-metadata">

**Author:** ![SebBergy2.0](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebbergy2.0/32/1214708_2.png) [@SebBergy2.0](https://forums.unrealengine.com/u/SebBergy2.0)\
**Post date:** [March 7, 2025, 3:26pm UTC](https://forums.unrealengine.com/t/eos-connect-login-using-an-epic-account-returns-eos-success-even-if-a-user-has-not-been-created-for-it-on-this-game/2858239/3 "2025-03-07T15:26:08Z")

</div>

Hi James,

I spoke with our client, backend engineering teams and our product manager. The behavior you are seeing is the expected behavior, albeit not very clearly explained in our documentation. _While Product User IDs (PUIDs) are unique to a product, there is a link to the organization as well. If a player with a PUID for one product logs into another EOS product within the same organization using the same account, a PUID is automatically created on our backend, as that player is already known to the organization. The recommended approach is to guide players to use the same account they’ve used on other products in your organization. For example, if a player has logged into Game Services using an Epic Games account on 1 product, they should log into Game Services using that Epic Games account on all of your products. We realize this could be clarified better in our documentation, and we are working on updating the documentation._

Did you encounter this behavior in a live game, or are you still testing your game in development?

Thanks,

Seb

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [March 10, 2025, 9:24am UTC](https://forums.unrealengine.com/t/eos-connect-login-using-an-epic-account-returns-eos-success-even-if-a-user-has-not-been-created-for-it-on-this-game/2858239/4 "2025-03-10T09:24:35Z")

</div>

Thanks Seb,

We are still testing a game in development.

So given the above am I right in thinking that in our scenario:

- A player plays game 1 without an Epic Account (creates an EOS account linked to a platform)
- The player then plays game 2 but uses an Epic Account (creates an EOS account linked to an Epic Account)
- That player then signs into game 1 using the Epic Account.

Since we have no way of knowing that this is the first time they are signing into game 1 using that Epic Account we don’t know that we need to ask the player whether they want to link their existing progress to this Epic Account. This means they will have to start again using a fresh account.

Is there a way to handle account linking for when a user wants to carry their progress over to an Epic Account after playing the game without one that avoids this issue? I would assume not since I guess EOS\_Connect\_LinkAccount only works if the account does not already have a PUID?

If not then based on this:

_“The recommended approach is to guide players to use the same account they’ve used on other products in your organization”_

it sounds like the best course of action would be to have a warning when skipping an epic account that says something like “You will only be able to later link progress to an Epic Account if that account has not been used on any of our organisation’s games before. We strongly recommend using an Epic Account to avoid potential linking issues in the future”

Thanks,

James

---

<div class="post-metadata">

**Author:** ![SebBergy2.0](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebbergy2.0/32/1214708_2.png) [@SebBergy2.0](https://forums.unrealengine.com/u/SebBergy2.0)\
**Post date:** [March 10, 2025, 3:47pm UTC](https://forums.unrealengine.com/t/eos-connect-login-using-an-epic-account-returns-eos-success-even-if-a-user-has-not-been-created-for-it-on-this-game/2858239/5 "2025-03-10T15:47:52Z")

</div>

**Is there a way to handle account linking for when a user wants to carry their progress over to an Epic Account after playing the game without one that avoids this issue?**

At the moment no. This is something we’re looking into potentially providing if we can’t change the current design on the backend.

That is a great point that a player could already be in a position where they can’t link their current progress to their Epic Games Account. I’m bringing this up with the team to make sure this is captured in our documentation. Yes, the game should warn the player to link to Epic on first login.

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [March 10, 2025, 4:23pm UTC](https://forums.unrealengine.com/t/eos-connect-login-using-an-epic-account-returns-eos-success-even-if-a-user-has-not-been-created-for-it-on-this-game/2858239/6 "2025-03-10T16:23:45Z")

</div>

We will keep an eye out for any improvements that may be made in this area, as it would be great to provide account linking in this way. But for now we will advise players that they should use an Epic Account on first login and explain what the problems could be if they choose to skip using one.

Thanks for the help!
