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

Amazon Games login issue (botched) after logging out from other client #4125

Open
AtFreezingPoint opened this issue Nov 17, 2024 · 0 comments
Labels
bug:unconfirmed Someone works on identifying the issue

Comments

@AtFreezingPoint
Copy link
Contributor

Describe the bug

After logging out from Amazon on another device for security, you can't use Amazon Games until manual intervention in files due to Nile not updating User config (user.json).

You can fix by going to ~/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config/nile/ and removing user.json

Add logs

02:07:00) DEBUG:   [Nile]:             Getting login data from Nile
(02:07:00) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=~/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile auth --login --non-interactive
Error occurred in handler for 'getAmazonLoginData': SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at getLoginData (/app/bin/heroic/resources/app.asar/build/main/main.js:95:208)
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:83537)

(changed /home/x/ to ~)

Steps to reproduce

  1. Go to 'Accounts'
  2. Click on 'Add Amazon Account'
  3. Scroll down to '(You can't)'
  4. See error

Expected behavior

It should let you log in

Screenshots

No response

Heroic Version

Latest Stable (Flatpak)

System Information

Flatpak, Ubuntu

Additional information

No response

@AtFreezingPoint AtFreezingPoint added the bug:unconfirmed Someone works on identifying the issue label Nov 17, 2024
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

1 participant