Skip to content

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

License

Notifications You must be signed in to change notification settings

xMistt/DeviceAuthGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

{
    "xmistt@partybot.com": {
        "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"
        }
    }
}

Want to compile it yourself?

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.

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages