Skip to content
This repository has been archived by the owner on Feb 15, 2020. It is now read-only.

Commit

Permalink
fixes #56
Browse files Browse the repository at this point in the history
  • Loading branch information
Tustin committed Dec 12, 2018
1 parent 5cff7f3 commit 58a1f7c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/FortniteClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class FortniteClient {
/**
* base64 encoded string of two MD5 hashes delimited by a colon. The two hashes are the client_id and client_secret OAuth2 fields.
*/
const EPIC_LAUNCHER_AUTHORIZATION = "MzRhMDJjZjhmNDQxNGUyOWIxNTkyMTg3NmRhMzZmOWE6ZGFhZmJjY2M3Mzc3NDUwMzlkZmZlNTNkOTRmYzc2Y2Y=";
const EPIC_LAUNCHER_AUTHORIZATION = "MzQ0NmNkNzI2OTRjNGE0NDg1ZDgxYjc3YWRiYjIxNDE6OTIwOWQ0YTVlMjVhNDU3ZmI5YjA3NDg5ZDMxM2I0MWE=";


/**
Expand Down Expand Up @@ -37,9 +37,8 @@ class FortniteClient {
const FORTNITE_EULA_API = "https://eulatracking-public-service-prod-m.ol.epicgames.com/eulatracking/api/";



const UNREAL_CLIENT_USER_AGENT = "game=UELauncher, engine=UE4, build=7.14.2-4231683+++Portal+Release-Live";
const FORTNITE_USER_AGENT = "Fortnite/++Fortnite+Release-5.20-CL-4259375 Windows/10.0.17728.1.256.64bit";
const FORTNITE_USER_AGENT = "Fortnite/++Fortnite+Release-7.01-CL-4644078 IOS/11.3.1";



Expand Down

4 comments on commit 58a1f7c

@ShadowRanger
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How did you find this new token by the way? Using Fiddler, I can only find the old one.

@Tustin
Copy link
Owner Author

@Tustin Tustin commented on 58a1f7c Dec 12, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ShadowRanger I used the iOS app to find it. The login on the app is a bit more streamlined and doesn't require logging in with the Epic launcher and exchanging tokens. I just looked at the request that was made when I signed in and noticed the Authorization had changed.

This is the first time I've had to change this token since I started this project about 8 months ago so I'm guessing this change was something security related or maybe they'll start changing it each update. Not totally sure yet.

@balex25
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick update, @Tustin ! :)

Also, a tutorial on how to find that key on iOS app is appreciated. :D

@juanpablofortnite
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hello tustin, could you explain how to get AUTHORIZATION on android and on ios thank you very much in advance!

With fiddle is it no use? Is there a way to do it on PC?

Please sign in to comment.