Link player accounts
Learn how to link player accounts to the web shop
After extracting the code challenge from a deep link, you can use it to send information about the player to Stash and complete the linking process.
The linking process varies based on the authentication provider you use. However, Stash’s Unity package contains a StashClient class with separate linking methods for the most popular authentication providers.
Account provider overview
Provider | Required Parameters | Guide | API Reference |
---|---|---|---|
Apple Game Center | Signature, teamPlayerId, publicKeyURL, salt, timestamp | Apple Game Center | Link Apple Game Center |
Apple ID | IdToken (JWT), clientId | Apple ID | Generic link using JWT standard |
Custom Provider | IdToken (JWT) | Generic link using JWT standard | |
Facebook / Meta | IdToken (JWT) | Generic link using JWT standard | |
Google accounts | IdToken (JWT) | Google accounts | Generic link using JWT standard |
Google Play Games | AuthCode | Google Play Games | Link Google Play |
Unity Player Accounts | IdToken (JWT) | Generic link using JWT standard |
Updated 6 months ago