Approve Apple Game Center login
Approves authentication using Apple Game Center. Validates the player's Game Center credentials and logs in the user into the webshop.
code?string
Authentication code provided by Stash webshop via deep link or QR code
verification?pie.sdk.custom_login.ApproveCustomLoginAppleGameCenterRequest.Verification
Game Center verification data
user?pie.sdk.custom_login.ApproveCustomLoginAppleGameCenterRequest.User
User information from the game
Response Body
curl -X POST "https://test-api.stash.gg/sdk/custom_login/approve_apple_game_center" \ -H "Content-Type: application/json" \ -d '{}'{}{
"code": 0,
"message": "string",
"details": [
{
"@type": "string",
"property1": null,
"property2": null
}
]
}How is this guide?
Approve custom login POST
Used to approve custom login requests using JWT authentication (For exampe Apple ID, Google or other JWT based login providers). This is a server-side endpoint and should not be called from the client.
Approve Facebook login POST
Approves authentication using Facebook. Validates the player's Facebook credentials and logs in the user into the webshop.