Skip to content

Commit

Permalink
Merge pull request #15 from KyeOnDiscord/main
Browse files Browse the repository at this point in the history
Switched to Android Token from IOS Token
  • Loading branch information
xMistt authored Sep 25, 2024
2 parents b816034 + a1c218a commit a310cb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

# "Constants" ? I don't know.
SWITCH_TOKEN = "OThmN2U0MmMyZTNhNGY4NmE3NGViNDNmYmI0MWVkMzk6MGEyNDQ5YTItMDAxYS00NTFlLWFmZWMtM2U4MTI5MDFjNGQ3"
IOS_TOKEN = "MzQ0NmNkNzI2OTRjNGE0NDg1ZDgxYjc3YWRiYjIxNDE6OTIwOWQ0YTVlMjVhNDU3ZmI5YjA3NDg5ZDMxM2I0MWE="
ANDROID_TOKEN = "M2Y2OWU1NmM3NjQ5NDkyYzhjYzI5ZjFhZjA4YThhMTI6YjUxZWU5Y2IxMjIzNGY1MGE2OWVmYTY3ZWY1MzgxMmU="


class EpicUser:
Expand Down Expand Up @@ -200,7 +200,7 @@ async def wait_for_device_code_completion(self, code: str) -> EpicUser:
method="POST",
url="https://account-public-service-prod03.ol.epicgames.com/account/api/oauth/token",
headers={
"Authorization": f"basic {IOS_TOKEN}",
"Authorization": f"basic {ANDROID_TOKEN}",
"Content-Type": "application/x-www-form-urlencoded",
},
data={
Expand Down

0 comments on commit a310cb6

Please sign in to comment.