Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.43 KB

exchange_code.md

File metadata and controls

28 lines (21 loc) · 1.43 KB

Authenticating by Exchange Code

An exchange code is a one-time code that can be used to generate an access token. The code expires after use or 5 minutes after generation.

Games on the PC such as Fortnite and Battle Breakers use this to identify who is playing the game.

Note: As of 30/05/20, Epic have removed the 'id/api/exchange' endpoint, meaning that it is not possible to get an exchange code through a browser anymore.

Advantages

  • Most clients accept this grant type
  • Does not reveal sensitive information such as email or password

Disadvantages

  • Difficult to get programmatically due to captcha
  • Expires after 5 minutes
  • Cannot get through browser

Method

If done successfully, you should now have an access_token that you can use to access everything Epic has to offer!