Dev impersonation requires pre-seeded accounts — create unknown names on demand
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 72/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- api, authentication, backend
Research direction
Search for the POST /api/auth/dev/impersonate handler and its player lookup, then inspect seed-speedrun-players.ts for the player fields and login behavior. Done means an unknown steamName is created with ToS pre-accepted and logged in, while a missing playerId still returns 404; verify both paths through the development endpoint.
Written by the indexing model from the issue text.
Description
Status: enhancement
Current behavior
POST /api/auth/dev/impersonate (development-only) 404s when the requested steamName has no existing players row. Local multi-client testing therefore requires a seeding step first (e.g. seed-speedrun-players.ts) before any account can be impersonated.
Proposal
On a steamName miss, create the player row on the fly (ToS pre-accepted so throwaway accounts skip the prompt) and log in as it — making local testing zero-setup: launch two clients, impersonate any two names, play. playerId (uuid) misses should still 404, since creating a row for a specific uuid is meaningless. The endpoint is already gated to NODE_ENV=development, so production exposure is unchanged.
- Dominant language
- TypeScript
- Stars
- 13
- Forks
- 21
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 6
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Balatro-Multiplayer/BalatroMultiplayerAPI-Server
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Balatro-Multiplayer/BalatroMultiplayerAPI-Server#32 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
In Game Telemetry Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
All issues in Balatro-Multiplayer/BalatroMultiplayerAPI-Server
Similar issues
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Crush Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md Open
Difficulty 1/5 Under an hour Newbie friendliness 90/100
ElementsProject/cln-application#167 · 1 comment · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Quantco/pnpm-licenses#17 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100