A way of exchanging an external auth token (such as PSN, XBOX) for an Epic Games access token Not very useful as of now due to not having the PSN/XBOX/Switch Fortnite clients
-
Send a
POST
request to https://account-public-service-prod.ol.epicgames.com/account/api/oauth/token:
Required headers:Content-Type
: application/x-www-form-urlencodedAuthorization
: basicclientId:secret
(encoded in Base64, list of clients here)
Body:
grant_type
: external_authexternal_auth_type
: ...external_auth_token
: ...nonce
?: ...
external_auth_type
: an external auth type- epicgames_access_token: used with Epic Online Services
- wegame - used for Fortnite China
- psn
- nintendo
- xbl
- internal
external_auth_token
: external auth token, probably issued by PSN/XBL/whatever service provider (not too sure)