Program to easily create device auths for use in Epic Games API authentication.
DeviceAuthGenerator is pretty simple to use. You can either use run the Python script directly or use the pre-compiled executable in the releases.
-
Install the requirements (only applies to the Python script, you don't need to install requirements for the executable).
pip install -U -r requirements.txt
-
Run DeviceAuthGenerator, either being
generator.py
orDeviceAuthGenerator.exe
. -
Login the the Epic Games account you wish to generate device auths for when prompted.
-
Wait 5 or less seconds for device auths to be generated. They will then be pasted into the console, copied to clipboard & saved in
device_auths.json
which is compatible out of the box with fortnitepy.
Generated device auths for: xMistt.
{
"device_id": "c403e1ea918b4414b01f6292ee7bbad2",
"account_id": "ab0f2bb71b1d4e73ac467bd1b1072061'",
"secret": "61E9F2025EA14493A63CD94AD1B9C569",
"user_agent": "DeviceAuthGenerator/1.0.0 Windows/10",
"created": {
"location": "London, England",
"ip_address": "215.42.168.146",
"datetime": "2021-05-15T16:57:46.372Z"
}
}
{
"[email protected]": {
"device_id": "c403e1ea918b4414b01f6292ee7bbad2",
"account_id": "ab0f2bb71b1d4e73ac467bd1b1072061",
"secret": "61E9F2025EA14493A63CD94AD1B9C569",
"user_agent": "DeviceAuthGenerator/1.0.0 Windows/10",
"created": {
"location": "London, England",
"ip_address": "215.42.168.146",
"datetime": "2021-05-15T16:57:46.372Z"
}
}
}
If you are uneasy about running a random executable, you can compile DeviceAuthGenerator yourself by installing the requirements and pyinstaller, then you can compiile it by the command:
pyinstaller --onefile -i icon.ico -n DeviceAuthGenerator generator.py
The executable will be found in /dist
.
By downloading this, you agree to the Commons Clause license and that you're not allowed to sell this repository or any code from this repository. For more info see https://commonsclause.com/.