Account & Authentication

This section describes the user account system and authentication flows, including supported login methods, token management, two-factor authentication, and security features.

4.1 Login and Signup

The platform supports three authentication methods:

Email and Password

Google OAuth

Steam OAuth

All authentication logic is handled inside the AuthModal component.

4.2 JWT Authentication and Tokens

Authentication is managed using JSON Web Tokens (JWT), with three token types:

Access Token

Refresh Token

Socket Token

The token refresh mechanism is part of the custom API client (src/api/apiClient/), and is invoked automatically when access tokens expire.

4.3 Two-Factor Authentication (2FA)

Two-Factor Authentication is supported via Google Authenticator.

Features include:

Setup Flow

Login Flow

Backup Codes

2FA is optional and can be enabled/disabled via the account settings interface.

4.4 Session Activity Log

The user account interface includes a session history log. This displays:

This functionality is visible in the account settings under the security tab and allows users to monitor and revoke session activity.

4.5 Self-Exclusion Options

To support responsible gambling policies, the platform allows users to self-exclude by setting:

These options are located within the account settings page. Self-exclusion status is enforced on both frontend and backend: blocked users are logged out and prevented from accessing gaming sections.

4.6 KYC Verification

The platform integrates with Sumsub for Know Your Customer (KYC) compliance.

KYC status may be required for withdrawals or other restricted features, depending on admin configuration.

4.7 Account Data and History

The user account page includes a detailed overview of account-related actions:

Transaction History

Each category is typically displayed in a separate tab or collapsible UI element, and includes filtering and date range selection.