DeviceAuthGenerator icon indicating copy to clipboard operation
DeviceAuthGenerator copied to clipboard

Program to easily create device auths for use in Epic Games API authentication.

DeviceAuthGenerator

Python PEP8

Program to easily create device auths for use in Epic Games API authentication.


Discord Support:


Example Usage:

Usage:

DeviceAuthGenerator is pretty simple to use. You can either use run the Python script directly or use the pre-compiled executable in the releases.

  1. 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
    
  2. Run DeviceAuthGenerator, either being generator.py or DeviceAuthGenerator.exe.

  3. Login the the Epic Games account you wish to generate device auths for when prompted.

  4. 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.

Example responses:

Console

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"
    }
}


File

{
    "[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"
        }
    }
}

License:

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/.