#Subject: Critical Authentication Issue on Linux/Steam Deck (Proton) — OAuth Redirect Fails to Return

1 messages · Page 1 of 1 (latest)

frigid rose
#

Category: Authentication / Login
Priority: High
Platform: Steam (Linux via Proton), Steam Deck

  1. Issue Description

When attempting to authenticate via social networks (Google, Facebook, Apple ID, etc.) , the game launches the system’s web browser to complete the OAuth flow. After successfully entering credentials in the browser, the page does not redirect the user back to the game. Instead, the browser remains open, and the game client continues waiting indefinitely, resulting in an infinite loading state or an “Authentication failed” error.

  1. Expected Behavior

After successful authentication in the browser, the user should be automatically returned to the game client, and their account should be successfully linked/authenticated. This is the standard OAuth flow behavior.

  1. Technical Context (for Developers)

    Environment: The game runs through Proton/Wine (Windows emulation on Linux).

    Problem: In Proton/Wine environments, inter-process communication mechanisms (e.g., handling custom URI schemes or localhost redirects) behave differently than in native Windows.

    Root Cause: Most likely, the game uses the default system browser for OAuth but:

     Does not properly register a custom protocol handler (e.g., dragonheir://auth) in the Wine prefix.
    
     Or expects a localhost redirect on a port that is blocked or unavailable in Proton’s isolated network namespace.
    

    Log Evidence: Proton logs (PROTON_LOG=1) often show errors like No protocol handler for URL scheme: dragonheir.

  2. Suggested Fixes for the Development Team

    Implement an embedded OAuth webview (recommended): Use an embedded browser component (e.g., CEF) for authentication within the game window, as many modern games do (Genshin Impact, Honkai: Star Rail). This completely avoids inter-process communication issues.

balmy olive
#

Hello Traveler,

At the moment, our PC client only supports the Windows operating system. If you attempt to run the game through other compatibility layers or platforms, it may result in incompatibility issues that could cause login failures.

Thank you for your understanding, and please feel free to contact us if you have any further questions.

frigid rose
#

Hello! The client is working. Authentication isn’t functioning properly. Adding authentication via an embedded browser in the client or authentication directly in the client would solve all the problems.