Direct login
Introduction
The Direct Login feature in the VNGGames SDK offers developers a flexible solution for integrating custom authentication forms into their games. This approach bypasses the default VNG login form, allowing developers to design their own interface while leveraging the SDK’s powerful login channels. It’s ideal for games where the default login form doesn’t match the game’s specific needs or aesthetics.
What is Direct login
Direct Login allows developers to directly connect to various login channels (like Google, Facebook, ZingID, etc.) using custom-built login forms. Unlike the Show Login Form feature, this method requires you to design and implement your own login interface and handle the authentication process using the VNGGames SDK. It gives you the freedom to create a tailored login experience for your users.
Key capabilities
How it works
Login Initiation
The player begins by selecting their desired login method from the available options within the login form shown by Game Developers. These options include:
SDK Authentication Process
Once the player selects their login option, the VNGGames SDK initiates the authentication process. The SDK dynamically handles each login method according to the user’s selection. This process is identical to the one described in the Show Login form - How it works.
Verification via VGA Platform
-
Secure Verification: After the login information is submitted, the VGA platform (VNGGames Account platform) verifies the credentials to ensure they are correct and valid.
-
Session Handling: The platform also checks and handles the player’s session to ensure continuity of gameplay across multiple logins or devices.
User Access
After successful authentication, VGA platform retrieves the user’s information and sends it back to VNGGames SDK. VNGGames SDK then forwards this user information back to the game by callbacks, confirming that the player has been successfully authenticated.
Sample Use Case
Challenge: Generic login interface reducing user engagement and brand alignment.
A game developer wanted to enhance the user experience by providing a tailored login interface that integrates multiple social media login options. The existing login system was generic and did not align with the game’s branding, leading to a disjointed user experience and lower user engagement.
Solution
The developer utilized the Direct Login feature from the VNGGames SDK to create a custom login form that seamlessly integrates multiple login channels, including Facebook, Google, Apple, etc… By designing their own login buttons and incorporating game-specific branding, they provided players with a cohesive and appealing login experience.
Result
The new custom login form led to higher user satisfaction and engagement, as players found it easier and more enjoyable to log in with their preferred social media accounts. The branding consistency helped reinforce the game’s identity, resulting in increased player retention and a smoother onboarding process for new users.