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

GOG login does not work #4057

Closed
AraDeck opened this issue Oct 13, 2024 · 5 comments
Closed

GOG login does not work #4057

AraDeck opened this issue Oct 13, 2024 · 5 comments
Labels
bug:unconfirmed Someone works on identifying the issue

Comments

@AraDeck
Copy link

AraDeck commented Oct 13, 2024

Describe the bug

Logging into GOG works in terms of loading the login page, but after logging in successfully, the account does not appear in the account list and no games are showing up due to the login not working. Attached log output that is causing the issue of login and sync.

Add logs

(13:10:54) ERROR:   [Gog]:              GOG login failed to parse std output from gogdl. stdout: 

(13:10:54) WARNING: [Legendary]:        Failed to parse games from C:\Users\[USERNAME]\AppData\Roaming\heroic\legendaryConfig\legendary\installed.json with: Error: ENOENT: no such file or directory, open 'C:\Users\[USERNAME]\AppData\Roaming\heroic\legendaryConfig\legendary\installed.json'

    at Object.readFileSync (node:fs:448:20)

Steps to reproduce

  1. Go to manage accounts
  2. Click GOG login and login as usual
  3. The account does not appear in the list and no games appear in library either.

Expected behavior

GOG account should show on login and all games on the account should show in library indicating a successfull login to the program.

Screenshots

No response

Heroic Version

Latest Stable

System Information

  • Windows 11 Home 64bit

Additional information

No response

@AraDeck AraDeck added the bug:unconfirmed Someone works on identifying the issue label Oct 13, 2024
@BranMuffi
Copy link

I am just leaving a comment to support the claim, as I also have this same issue of me trying to login through the "Manage Accounts" on Heroic here, and it does log me in on the gog website, but doesn't detect it on Heroic's base. I can definitely still see I'm logged in on the store page, and have added attachments showing such with the popup telling me that I am not logged in on Heroic, even though on the browser in Heroic I am.

Screenshot 2024-11-04 162409
image

@Maitreya93
Copy link

Same happens for me too.

  1. Windows 11
  2. Fresh install of Heroic version 2.15.2
  3. Go to "Login" -> "GOG Login"
  4. Enter login credentials

Expected behavior:
Login works, account added to Heroic, library is shown & shop loads

Actual result:
After step 4, the login section shows up again and GOG is not logged in, store requires Login.

I hope this will get recognized and fixed. I love Heroic on Linux and it would be great if it worked the same on Windows.
This issue does not happen on Linux, btw.

@theriverlethe
Copy link

I'm having the same issue.

@2girlshugging
Copy link

2girlshugging commented Dec 2, 2024

Same here

  • Windows 10 (22H2 19045.5131)
  • Heroic 2.15.2
    Steps
  • Manage Accounts
  • GOG LOGIN
  • Prompts me to log in through this link (https:// login . gog . com/auth?client_id= | my id | &layout=galaxy&redirect_uri=https%3A%2F%2Fembed.gog.com%2Fon_login_success%3Forigin%3Dclient&response_type=code) and so I do
  • Upon clicking "Log in now" a temporary "Logging in" page shows up with this url (https:// embed . gog . com/on_login_success?origin=client&code= | 192 characters long code | ) and then immediately throws me out to the Manage Accounts page again but my GOG account was not added

My bad, issue resolved on my end: Malwarebytes AI scanner quarantined "gogdl.exe"

@arielj
Copy link
Collaborator

arielj commented Jan 8, 2025

Closing this as the issue is the antivirus software deleting the gogdl.exe file

the solution is to add an exception in the antivirus and then reinstall heroic, not something we can solve from heroic's side

@arielj arielj closed this as completed Jan 8, 2025
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

6 participants