Home > Mobile >  Symfony rest api error with security.yaml
Symfony rest api error with security.yaml

Time:04-30

I'm trying to add an auth system with JWT to my REST API but since I added my system and modified my security.yaml I have those errors:

error

security.yaml

CodePudding user response:

make sure of the alignments .. it can be spaces problem

    api:
        pattern:   ^/api
        guard:
            authenticators:

CodePudding user response:

Lexik bundle doesn't require anymore guard with symfony 6

  • Related