Approve Facebook login

Approves authentication using Facebook. Validates the player's Facebook credentials and logs in the user into the webshop.

POST
/sdk/custom_login/facebook_auth
code?string

Authentication code provided by Stash webshop via deep link or QR code

appId?string

Facebook App ID for the application

inputToken?string

Facebook access token for user authentication

user?pie.sdk.custom_login.ApproveCustomLoginFacebookRequest.User

Facebook user information

Response Body

curl -X POST "https://test-api.stash.gg/sdk/custom_login/facebook_auth" \  -H "Content-Type: application/json" \  -d '{}'
{}
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string",
      "property1": null,
      "property2": null
    }
  ]
}

How is this guide?