Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error login into Epic Games account #4223

Open
Blkez opened this issue Dec 30, 2024 · 18 comments
Open

Error login into Epic Games account #4223

Blkez opened this issue Dec 30, 2024 · 18 comments
Labels
bug:unconfirmed Someone works on identifying the issue

Comments

@Blkez
Copy link

Blkez commented Dec 30, 2024

Describe the bug

In Heroic games launcher, Trying to login to Epic Games account after confirming captcha and 2 factor code redirect to an unknown error url: https://www.unrealengine.com/id/error?errorTitleCode=error.500.title&errorCode=error.invalidClient.wrongParameters

image

This also happens from any web browser in any device trying to login via: https://legendary.gl/epiclogin

Add logs

(13:56:43) INFO:    [Legendary]:        Legendary location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary
(13:56:43) INFO:    [Gog]:              GOGDL location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl
(13:56:43) INFO:    [Connection]:       Connectivity: check-online
(13:56:43) INFO:    [Connection]:       Pinging external endpoints
(13:56:43) INFO:    [Gog]:              Checking for existing gog manifests
(13:56:43) INFO:    [Nile]:             Refreshing library...
(13:56:43) INFO:    [Nile]:             Refreshing Amazon Games...
(13:56:43) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile library sync
(13:56:43) INFO:    [Nile]:             Game list updated, got 238 games
(13:56:43) WARNING: [Backend]:          Failed to register protocol with OS.
(13:56:43) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary --version
(13:56:43) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json --version
(13:56:43) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile --version
(13:56:43) INFO:    [Connection]:       Connectivity: online
(13:56:43) INFO:    [Backend]:          User Not Found, removing it from Store
(13:56:43) INFO:    [Gog]:              Checking if login is valid
(13:56:43) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(13:56:43) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(13:56:43) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(13:56:44) INFO:    [Nile]:             Saved user data to config file
(13:56:44) INFO:    [Frontend]:         Refreshing undefined Library
(13:56:44) WARNING: [Backend]:          refresh not implemented on Sideload Library Manager
(13:56:44) INFO:    [Legendary]:        Refreshing library...
(13:56:44) INFO:    [Nile]:             Refreshing library...
(13:56:44) INFO:    [Nile]:             Refreshing Amazon Games...
(13:56:44) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile library sync
(13:56:44) INFO:    [Nile]:             Game list updated, got 238 games
(13:56:44) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(13:56:44) INFO:    [Backend]:          Frontend Ready
(13:56:44) INFO:    [Backend]:          
System Information:
CPU: 8x AMD Custom APU 0932
Memory: 15.53 GB (used: 3.77 GB)
GPUs:
  GPU 0:
    Name: Advanced Micro Devices, Inc. [AMD/ATI] Sephiroth [AMD Custom GPU 0405]
    IDs: D=1435 V=1002 SD=0123 SV=1002
    Driver: amdgpu
OS: SteamOS 3.6.20 holo (linux)

The current system is a Steam Deck (model: OLED) in desktop mode
We are running inside a Flatpak container

Software Versions:
  Heroic: 2.15.2 Emeth
  Legendary: 0.20.36 Urban Flight (Heroic)
  gogdl: 1.1.2
  comet: comet 0.1.2

  Nile: 1.1.2 Will A. Zeppeli

(13:56:44) INFO:    [Gog]:              Getting GOG library
(13:56:44) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(13:56:44) INFO:    [Backend]:          AreWeAntiCheatYet data downloaded
(13:56:44) INFO:    [Gog]:              GOG presence set
(13:56:44) INFO:    [Backend]:          Checking for current version changelog
(13:56:44) INFO:    [Gog]:              Saved username to config file
(13:56:45) INFO:    [Gog]:              Saved games data
(13:56:45) WARNING: [Backend]:          listUpdateableGames not implemented on Sideload Library Manager
(13:56:45) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(13:56:45) INFO:    [Gog]:              Found 0 game(s) to update
(13:56:45) INFO:    [Nile]:             Looking for updates...
(13:56:45) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile list-updates --json
(13:56:46) INFO:    [Winetricks]:       Downloading Winetricks
(13:56:48) INFO:    [WineDownloader]:   Updating wine versions info
(13:56:48) INFO:    [WineDownloader]:   Fetching upstream information...
(13:56:49) INFO:    [Backend]:          Starting the Download Queue
(13:56:49) INFO:    [WineDownloader]:   wine versions updated

Steps to reproduce

1 - Open Heroic games Launcher and go to Manage Accounts
2 - Select Epic Games Login or Alternative Login Method
3 - Insert Epic account credentials
4 - Confirm captcha correctly
5 - Insert 2 factor code
6 - Redirects to Epic Games url Unkown Error page: Sorry, the client that sent you here did not pass the parameters needed for you to login.

Expected behavior

Expected behaviour is to login correctly and load account games.

Screenshots

image

Heroic Version

Latest Stable

System Information

  • Steam Deck OS: SteamOS Holo 3.6.20 Build 20241030.1

Additional information

Issue also reproduced in any web browser on any device

@Blkez Blkez added the bug:unconfirmed Someone works on identifying the issue label Dec 30, 2024
@EAZYBLACK
Copy link

EAZYBLACK commented Dec 30, 2024

hello i have exact same issue on arch linux , firefox
used aur to install the launcher so source built

@Etaash-mathamsetty
Copy link
Member

log into the epic games website, it should tell you to accept a new EULA and then try logging into heroic again

@Blkez
Copy link
Author

Blkez commented Dec 30, 2024

log into the epic games website, it should tell you to accept a new EULA and then try logging into heroic again

Checking my account I have agreed EULA on July 2024. I just tried closing session and relogin via Epic store and im getting the reported unkown error now too

@arielj
Copy link
Collaborator

arielj commented Dec 30, 2024

on discord users reported these things that seems to help:

  • disable ipv6 system-wide for the connection
  • or, login using a mobile connection
  • or, use a VPN

@nrroyal19
Copy link

nrroyal19 commented Dec 30, 2024

in .config folder delete only heroic folder then re login it will fix it.

@arielj
Copy link
Collaborator

arielj commented Dec 30, 2024

in config folder delete everything then re login it will fix it.

be careful with this, it's too extreme to delete all the config (you'll have to reinstall/import all game, reconfigure everything, etc)

@Blkez
Copy link
Author

Blkez commented Dec 30, 2024

on discord users reported these things that seems to help:

  • disable ipv6 system-wide for the connection
  • or, login using a mobile connection
  • or, use a VPN

Thanks, I tried login via web browser with a VPN and still get the error message. Also use mobile data network share to connect my devices and get same error. I haven't tried disabling ipv6 but get the impression it will behave the same.
I'm starting to think this might be an issue on Epics side?

@Blkez
Copy link
Author

Blkez commented Dec 30, 2024

in config folder delete everything then re login it will fix it.

be careful with this, it's too extreme to delete all the config (you'll have to reinstall/import all game, reconfigure everything, etc)

I will probably not try this then. I have tried clearing heroics cache and resetting it. Also uninstalled and reinstalled but the outcome is always the same.

@nrroyal19
Copy link

only delete the heroic folder.

@EAZYBLACK
Copy link

only delete the heroic folder.

I did that and didn't work and i have agreed the EULA
Its probably related to legendary.gl because if you go here https://legendary.gl/epiclogin (alternative epic) , login then it does error

@TissuePowder
Copy link

This is exclusively about legendary's url redirection issue. (The backend heroic uses for epic login).

  1. Use the alternative login method.
  2. Open legendary.gl/epiclogin on your browser.
  3. Check the redirection url, it might be something like https://www.epicgames.com/id/api/redirect?redirectUrl=https://www.epicgames.com/id/api/redirect?clientId=xxx&responseType=code
  4. You have to remove the redirectUrl= parameter. Remove it and paste the new link on browser. https://www.epicgames.com/id/api/redirect?clientId=xxx&responseType=code

@EAZYBLACK
Copy link

This is exclusively about legendary's url redirection issue. (The backend heroic uses for epic login).

1. Use the alternative login method.

2. Open legendary.gl/epiclogin on your browser.

3. Check the redirection url, it might be something like `https://www.epicgames.com/id/api/redirect?redirectUrl=https://www.epicgames.com/id/api/redirect?clientId=xxx&responseType=code`

4. You have to remove the redirectUrl= parameter. Remove it and paste the new link on browser. `https://www.epicgames.com/id/api/redirect?clientId=xxx&responseType=code`

Thanks it worked, however you have to convert %2A stuff like to / and same goes for other symbols

@TissuePowder
Copy link

@EAZYBLACK I did not find it worth mentioning something as basic as browser's url encoding, but yes.

@FardinHaque70
Copy link

on discord users reported these things that seems to help:

* disable ipv6 system-wide for the connection

* or, login using a mobile connection

* or, use a VPN

Using mobile network worked for me. Thanks!

@BugScouter
Copy link

log into the epic games website, it should tell you to accept a new EULA and then try logging into heroic again

this worked for me

@mokurin000
Copy link

mokurin000 commented Jan 2, 2025

neither using a mobile network IP, nor removeing the redirect_url works for me.

image

Will epic ban third-parties?

Update: with home ip it works

@TissuePowder
Copy link

@mokurin000 you weren't able to catch the first redirection url (browser dev tools can help). You pasted your client id on wrong url. Check my comment again.

Or put your client id here and literally just copy paste the link on your browser address bar.

https://www.epicgames.com/id/api/redirect?clientId=xxx&responseType=code

@mokurin000
Copy link

@mokurin000 you weren't able to catch the first redirection url (browser dev tools can help). You pasted your client id on wrong url. Check my comment again.

Or put your client id here and literally just copy paste the link on your browser address bar.

https://www.epicgames.com/id/api/redirect?clientId=xxx&responseType=code

Yeah it just redirects from URL like this, to the one showing 'welcome'...

Thanks for your advice again, using an real home IP worked

I guess they may check proxy, the hongkong IP from HK Cable TV not works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:unconfirmed Someone works on identifying the issue
Projects
None yet
Development

No branches or pull requests

9 participants