Skip to main content

Set up a login method - Login with device ID - (Unity module)

Last updated on June 11, 2024

About device ID logins

Since AccelByte Gaming Services (AGS) supports many login methods, you need to choose what login methods should be activated. One of the simplest authentication methods to get you started with AccelByte Gaming Services is a device ID, which is a unique string for device identification. This lets the player log in to your game without entering any credentials. When the player logs in for the first time, a player account will automatically be created, allowing them to access different services such as matchmaking, friend management, store, etc.

Set up login method in the AGS Admin Portal

You will first need to set up the device ID login method in the AGS Admin Portal before implementing it into Byte Wars.

  1. Log in to the AGS Admin Portal and go to your game namespace dashboard.

  2. Go to Game Setup > 3rd Party Configuration > Auth & Account Linking and click Add New.

  3. Click Device and, on the form that appears, enter http://127.0.0.1 for the Redirect URI. Then, click Create.

  4. When redirected to the Login Platform Configuration page, verify its Status is Active. If it's not, activate it by clicking Activate once, and again on the pop-up to confirm.