thefrontside / thefrontside/simulacrum
Server error when running multiple tests in parallel
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 117
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
I started using this library to mock Auth0, but I discovered that an error occurs when multiple parallel sessions occur.
The simulacrum is executed with this command: npx @simulacrum/auth0-simulator --standalone --username=the.user@gmail --password=password
The browser stops on this URL: https://localhost:4400/login/callback (With this content: server error)
Is there a workaround for this?
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.
Research direction
Start by running the documented npx @simulacrum/auth0-simulator command with multiple parallel sessions and observe the failure at https://localhost:4400/login/callback. Trace the server-side handling of that callback and determine a reproducible workaround or fix for concurrent sessions; the issue is complete when parallel sessions no longer produce the server error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100