URL: https://www.epicgames.com/id/api/state/:state
Method: GET
state
: Received state from redirect
Example Response (Successful):
{
"isPopup":false,
"isWeb":true,
"oauthRedirectUrl":"https://epicgames.com/id/login/steam?prompt=",
"ip":"77.244.41.193",
"origin":"epicgames",
"id":"a9b8946a25124925a7f74a47d8b66f51"
}
Example Response (State is invalid)
{
"errorCode":"errors.com.epicgames.accountportal.oauth_state_invalid",
"message":"There was an error logging you in, please try again.",
"correlationId":"00000000-0000-0000-0000-000000000000"
}