Skip to content

[Security] Instructions in "How to Simulate HTTP Authentication in a Functional Test " don't work #5244

@parhamdoustdar

Description

@parhamdoustdar

If you look at the documentation page here, just before the final configuration example, it's said that:

The trick is to include the http_basic key in your firewall, along with the form_login key:

When I put the mentioned piece of configuration inside my config_test.yml, the login form is still displayed, even in the test environment. I am unaware of how having multiple authorization listeners works in Symfony, so I don't know how to fix this myself.

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