Account linking
Account linking ties your players’ accounts to the webshop. Players complete the process using a QR code or deep-link to complete authentication. Account linking is required so that you can grant players the correct items based on their purchases. Stash supports several identity providers, including custom providers if you built your own. Stash also supports direct sign-in, meaning players log in to the webshop with their game account instead of linking accounts.
Key features
- Authenticates players to link purchases and deliver items in-game
- Supports third-party accounts (Apple, Google, etc.) and custom auth
- Reduces friction with QR codes and deep-links
Compatibility
Stash supports all popular providers like Apple, Google, Facebook, etc., as well as custom JWT-based systems. There’s no additional forced login with Stash, meaning players don’t create accounts with us. Players use their existing accounts with supported third-party providers, or using a custom authentication solution if you built your own.
Supported ID providers
Provider | Required Parameters |
---|---|
Apple Game Center | Signature, teamPlayerId, publicKeyURL, salt, timestamp |
Apple ID | IdToken (JWT), clientId |
Custom Provider | IdToken (JWT) |
Facebook / Meta | IdToken (JWT) |
Google accounts | IdToken (JWT) |
Google Play Games | AuthCode |
Unity Player Accounts | IdToken (JWT) |
Authentication methods
After you configure your authentication providers, you can decide which authentication methods to make available to players in the webshop. You can implement a single method or mix multiple options.
Web login
Straightforward, direct sign-in on the webshop:
- No additional code needed
- Set up your login flow in Stash Studio
- Stash wraps what you already use
- Ideal for web-first games
Account linking
Passwordless login using your game client:
- Deep link authentication on mobile devices
- QR code authentication on desktop
- Integrates with our Unity or Unreal SDK
- Ideal for mobile-first games
General implementation steps
- Configure authentication providers
- Implement authentication methods
- Test the account linking flow