thefrontside / thefrontside/simulacrum
Auth0 respones mode form_post
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 117
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
I am testing with this against my dotnet mvc server for integration testing.
PORT=4000 npx auth0-simulator --standalone
The error
Error: Assert condition failed: unknown response_mode form_post
and the code
let responseMode = ((_a = req.query.response_mode) !== null && _a !== void 0 ? _a : 'query');
(0, assert_ts_1.assert)(['query', 'web_message'].includes(responseMode), `unknown response_mode ${responseMode}`);
let handler = authorizeHandlers[responseMode];
seems to imply that this simulator doesn't support form_post as a response mode for authorization_code flow?
Is there something I am doing wrong here?
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 the standalone simulator with PORT=4000 npx auth0-simulator --standalone and trace authorization handling from the response_mode query parameter to authorizeHandlers. Confirm the expected behavior for form_post and add support if required, with coverage for authorization-code requests using that response mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authentication
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100