feat: resolve player display names from Steam persona (Steam Web API)
Build & Deploy / build (push) Successful in 41s

Accounts were created as 'Unknown' and the client never sends a name, so the admin
panel / friends / squad showed no names. Add SteamWebApiService (GetPlayerSummaries),
wired into LoginWithSteam to backfill the DisplayName from the Steam persona when it's
still 'Unknown'. Admin gets a LAN-only /admin/backfill-names action (+ button) to
backfill existing accounts in one shot. Key read from config SteamWebApiKey (Vault ->
env), inert when unset.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-15 10:25:52 +02:00
co-authored by Claude Opus 4.8
parent b8d023b02a
commit 4614b135a1
4 changed files with 113 additions and 3 deletions
+2
View File
@@ -30,6 +30,8 @@ public class Startup
services.AddSingleton<UserDataService>();
services.AddSingleton<TitleDataService>();
services.AddSingleton<Prospect.Server.Api.Services.Steam.SteamWebApiService>();
services.AddSingleton<DbUserService>();
services.AddSingleton<DbEntityService>();