Player & Game Authentication

Players must link their player ID to the storefront so that the order can be fulfilled in the game. We support several authentication methods, as well as plainly collecting player-identifying information during the checkout flow. The different methods are listed below.

Authentication API

If you'd like to authenticate players using your existing in-game authentication, we recommend that you use our authentication API. Players in on to your storefront and receive a secure code (e.g. ABCD-1234). The player will then be directed to your game using a deep link, QR code, or manual entry instructions. You can then make a request to the /auth/token endpoint to authenticate the player, which immediately authenticates the player's storefront session. The endpoint also returns a token which you can use to manually link the player to a pre-authenticated storefront.

OpenID Connect (OIDC) Authentication

Neon supports OIDC authentication. You can provide us with your authority and client ID. When complete, Neon's login flow will link to the authority's URL to authenticate the player. If the authority has implemented a redirect whitelist, ensure the storefront's URL has been included. Keep in mind, the redirect URL will be different for each Neon environment. Neon requests the openid and profile scopes. In the response, Neon pulls the player's ID from user.profile.sub and the player's display name from user.profile.preferred_username.

Manual Player ID Input

We also support manual player ID input to link player sessions to their in-game account. Players input their player ID manually, and we use that player ID to determine offer segmentation. We also support validating these account IDs via the account.validate callback; you can provide data about the account (like display name) that we'll show the user to let them verify they've linked the correct account. (To enable this flow, register a listener for the account.validate callback, then let us know you're ready to turn on account validation.)

This authentication method requires that your game issues unique account IDs to your players, and that those account IDs are available to the player (e.g. in a settings page in-game). If your game meets these criteria, we can work with you to enable this payment method, and create images or videos that instruct users on where to find their account IDs.