Skip to content

Auth0 respones mode form_post #226

@esumerfd

Description

@esumerfd

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions