Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xMistt/DeviceAuthGenerator

Program to easily create device auths for use in Epic Games API authentication.
https://github.com/xMistt/DeviceAuthGenerator

Last synced: 14 days ago
JSON representation

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

Awesome Lists containing this project

README

        

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.

3. 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
```json
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
```json
{
"[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"
}
}
}
```
## 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/.