Skip to content

JWT Authentication SecurityBundle configuration references 'anonymous' security #1445

Closed
@wiese

Description

@wiese

The JWT Authentication docs make use of the anonymous option for the main firewall config.

This was removed in the 5.1-dev branch and causes an error when used:

/srv/api # php bin/console

In AnonymousFactory.php line 52:                                                                                                                   
The authenticator manager no longer has "anonymous" security. Please remove this option under the "main" firewall.

There is an extensive reasoning in the linked commit. I think the bottom line is mentioning the option in the api-platform documentation configuration example can simply be removed for the same effect.

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