Skip to main content

Overview - Login with device ID - (Unity module)

Last updated on July 15, 2026

Introduction​

You need to authenticate players for them to access the features of AccelByte Gaming Services (AGS). This module teaches you how to do this using a device ID.

Prerequisites​

In order to complete this module, you will need:

  • To have completed the following module:

  • The Byte Wars tutorialmodules branch checked out in your local Byte Wars Unity project repository.

  • To have configured the AccelByte's SDKs. Refer to Install the AGS Game SDK to learn more.

  • To have force enabled this module. You can do this by adding the following code to the Assets/Resources/Modules/TutorialModuleConfig.json file:

    {
    "enableModulesOverride": true,
    "forceEnabledModules": ["AuthEssentials"],
    "forceDisabledOtherModules" : true
    }
    note

    You will need to close and reopen Unity for the module override to take effect.

Learning objectives​

At the end of this module, you will know how to implement device ID logins.

Preview​

At the end of this module, your project will look like the images below.

  • Login success:

  • Login failure: