Skip to main content

Overview - Login with Steam - (Unity module)

Last updated on June 12, 2024

Introduction

AccelByte provides third-party single platform authentication to enable your players to log in to your game using credentials provided by a third party. To get you started, this module teaches you how to implement single platform authentication using Steam.

Prerequisites

In order to complete this module, you will need:

  • To have completed the following module:

  • Steam installed on your system.

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

  • To force enable this module by adding the following code to the Assets/Resources/Modules/TutorialModuleConfig.json file:

        {
    "enableModulesOverride": true,
    "forceEnabledModules": ["SinglePlatformAuth"]
    }
    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 Steam logins.

Preview

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

login with steam is implemented without auto login Unity Byte Wars Steam

login with steam is implemented with auto login Unity Byte Wars Steam