Receiving EOS_Auth_ExternalAuthInvalid when requesting app ticket from Steam #948
Replies: 1 comment
-
made it work. the correct code looks something like this: string steamId = Steamworks.SteamClient.SteamId.AccountId.ToString(); when connecting the first time, you'll receive InvalidUser. you need to run this in the callback (info the parameter of the callback function) EOSManager.Instance.AuthLinkExternalAccountWithContinuanceToken(info.ContinuanceToken, LinkAccountFlags.NoFlags, for more information you can install the samples and look into the UILoginMenu.cs and SteamManager.cs. |
Beta Was this translation helpful? Give feedback.
-
Hi,
i'm struggling to authenticate to steam. I tried to find the proper way but could find it yet. maybe someone here can enlighten me.
I'm using version 3.3.3 of eos_plugin_for_unity. And facepunch for the connection to steam. I've generated an encrypted app ticket in steamworks and published the changes. I've added Steam and the app ticket as identity provider to Epic Dev Portal and set this provider to all sandboxes.
after the steam client has been initialized i'm calling the following code:
string steamId = Steamworks.SteamClient.SteamId.ToString();
Steamworks.AuthTicket ticket = Steamworks.SteamUser.GetAuthSessionTicket();
byte[] token = await Steamworks.SteamUser.RequestEncryptedAppTicketAsync();
string steamToken = BitConverter.ToString(token).Replace("-", string.Empty);
EOSManager.Instance.StartLoginWithLoginTypeAndToken(
Epic.OnlineServices.Auth.LoginCredentialType.ExternalAuth,
Epic.OnlineServices.ExternalCredentialType.SteamSessionTicket,
steamId,
steamToken,
this.HandleLoginResult);
But i always receive EOS_Auth_ExternalAuthInvalid. what am i missing?
Beta Was this translation helpful? Give feedback.
All reactions