betidestudio / EOSIntegrationKit

EIK (Epic Online Services Integration Kit) is a plugin that enables seamless integration between Epic Online Services (EOS) and Unreal Engine. The plugin provides access to the EOS SDK (Software Development Kit) within Unreal Engine, allowing developers to easily implement features such as matchmaking, achievements, leaderboards, and more.
https://betide.studio/
MIT License
248 stars 34 forks source link

EOS_Auth_AuthenticationFailure on steam login #1

Closed whatthesamuel closed 1 year ago

whatthesamuel commented 1 year ago

I followed through the steps in the document: https://betide-studio.gitbook.io/eos-integration-kit/authentication/with-steam and made a simple level blueprint to test the steam login function:

image

However, I get this error message when the login function fires. Is this an issue on my end? The only difference with the document I can think of is that I don't have this product on steamworks yet, so I just used app id 480 for testing.

Edit: forgot to add the error message image

deveshmishrabetide commented 1 year ago

Hello! A few questions -

  1. Have you steam open?
  2. Are you using Modified EOS?
  3. Is Steam config correctly set?
whatthesamuel commented 1 year ago

Hello! A few questions -

  1. Have you steam open?
  2. Are you using Modified EOS?
  3. Is Steam config correctly set?
  1. Yes I tried in both having both steam and epic, and only steam opened situations.
  2. Yes I am using the modified subsystem
  3. I think so, I double checked, and I don't think I missed anything. but again, I don't have a steamworks product yet so could that be a problem? I thought app id 480 was available for testing.
whatthesamuel commented 1 year ago

@deveshmishrabetide according to this article the error is on code 1005, and it means "invalid bearer token" whatever that means. I didn't see any instructions mentioning setting up bearer tokens on the documentation. Anything I can do?

whatthesamuel commented 1 year ago

Also the discord invite link is broken on the readme.md page

deveshmishrabetide commented 1 year ago

Hello, sorry for late reply. Discord - https://discord.gg/3xgSDhXqt4

deveshmishrabetide commented 1 year ago

I have verified with a few friends over at discord that the functions are working, can be the 480 issue but I will test it. Would be great if you can share complete logs.

esdete2 commented 1 year ago

I have encountered the same error. I also double checked everything and I'm using the app ID 480 as well. Here is my log:

[2023.05.04-18.20.03:830][ 48]LogEOSSDK: LogEOS: SDK Config Platform Update Request Successful, Time: 9.548716
[2023.05.04-18.20.03:831][ 48]LogEOSSDK: Warning: LogEOSAnalytics: EOS SDK Analytics disabled for route [1].
[2023.05.04-18.20.03:833][ 48]LogEOSSDK: LogEOS: Updating Product SDK Config, Time: 9.558693
[2023.05.04-18.20.04:039][ 69]LogEOSSDK: LogEOSAnalytics: Start Session (User: ...)
[2023.05.04-18.20.04:178][ 83]LogEOSSDK: LogEOS: SDK Config Product Update Request Successful, Time: 9.898041
[2023.05.04-18.20.04:181][ 83]LogEOSSDK: LogEOS: SDK Config Data - Watermark: -838326092
[2023.05.04-18.20.04:181][ 83]LogEOSSDK: LogEOS: ScheduleNextSDKConfigDataUpdate - Time: 9.898041, Update Interval: 348.821075
[2023.05.04-18.20.08:231][509]LogOnlineIdentity: STEAM: Obtained steam authticket
[2023.05.04-18.20.08:614][542]LogEOSSDK: Warning: LogEOS: Error response received from backend. ServiceName=[OAuth], OperationName=[TokenGrantv2], Url=[<Redacted>], HttpStatus=[400], ErrorCode=[errors.com.epicgames.account.external_auth_validate_failed], NumericErrorCode=[18063], ErrorMessage=[Failed to verify token for authType: steam_session_ticket and sandboxId: 0415bc1f7d584569b4290c2afedc070f, error: Invalid session ticket], CorrId=[EOS-QWCl60qde0q7fyl0Y5gFDQ-OivXXvhBJUWstOgvp36lzQ-jqGcCrSHY02ehvI9kqyeiw]
[2023.05.04-18.20.08:614][542]LogEOSSDK: LogEOSAuth: FTokenGrantRequestTask: Received ResultCode: EOS_Auth_AuthenticationFailure
[2023.05.04-18.20.08:633][544]LogEOSSDK: LogEOSAuth: UserAuthGenerated: Received EOS_Auth_AuthenticationFailure
[2023.05.04-18.20.08:641][545]LogOnline: Warning: EOS: Login(0) failed with EOS result code (EOS_Auth_AuthenticationFailure)
[2023.05.04-18.20.08:641][545]LogBlueprintUserMessages: [ExampleLevel_C_0] Login failed
deveshmishrabetide commented 1 year ago

Hello @esdete2, we likely have found the issue out and are working on a fix for this. If it work's well and good or else we will try to get in touch with a Epic Member.

deveshmishrabetide commented 1 year ago

Version 2 now doesn't support 480 ID,