Approve custom login
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.
API key authentication for server-side SDK operations. Used for secure server-to-server communication.
In: header
Authentication code provided by Stash webshop via deep link or QR code
User information for authentication
Response Body
curl -X POST "https://test-api.stash.gg/sdk/custom_login/approve" \ -H "Content-Type: application/json" \ -d '{}'{}{
"code": 0,
"message": "string",
"details": [
{
"@type": "string",
"property1": null,
"property2": null
}
]
}How is this guide?
Set user preferences POST
Creates or updates the payment channel preference for a user. This is a server-side endpoint and should not be called from the client.
Approve Apple Game Center login POST
Approves authentication using Apple Game Center. Validates the player's Game Center credentials and logs in the user into the webshop.