Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 685 Bytes

ValidateState.md

File metadata and controls

34 lines (25 loc) · 685 Bytes

Id Web - Validate State for External Login

URL: https://www.epicgames.com/id/api/state/:state
Method: GET

Path Parameters

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"
}