Revadike / epicgames-freebies-claimer

Claim available free game promotions from the Epic Games Store.
MIT License
2.23k stars 361 forks source link

Enable authentication on Linux #181

Open kylian-002 opened 2 years ago

kylian-002 commented 2 years ago

Hello i want to use this on linux using docker-compose.

the following instructions refer me to the README.

Download DeviceAuthGenerator for EpicGames. Currently only Windows binary is supported. For Mac/Linux user, follow the guide in README.

The issue how ever is that it is stated DeviceAuthGenerator is windows only in the readme. what shut i do in linux/mac as this isn't stated anywhere on how to get the EpicGames secrets on linux.

Revadike commented 2 years ago

DeviceAuthGenerator source is in python, which should compile or at least run in linux, right? You can try that. Additionally, in coming weeks I'm going to attempt to update the library which will ditch the requirement for DeviceAuthGenerator. No promises, though.

jackblk commented 2 years ago

In the README of DeviceAuthGenerator, it has a simple guide https://github.com/jackblk/DeviceAuthGenerator#usage

pip install -U -r requirements.txt
python generator.py
Dalli030 commented 2 years ago

I have not test the Auth script on linux, but I think it will not be different. Just run the script, a browser will open and you have to loggin with your credentials in the epic store. After that you can find the json file in the same folder as the script.

gonglihai commented 2 years ago

I run in server, only CLI, no GUI. I tried to generate device_auths.json under windows and copy it to server, it seemed to work

Dalli030 commented 2 years ago

I think this was the problem...without a GUI Browser you can not login into the Epic account.

Revadike commented 2 years ago

I'll change the subject of this issue. If I am able to rewrite the project to use fnbr.js, it will support authentication generation natively (via CLI) and this issue will be solved.

LuposX commented 2 years ago

I run "Pop Os/Ubuntu" and it worked fine for me generating the device_auths.json with the python script. Though I run into some issues with missing packages for python, but after I installed them it was fine.