Category: jwt

hi everyone , i actually have a problem Unable to find the controller for path "/api/login_check". The route is wrongly configured.]

Unable to find the controller for path “/api/login_check”. The route is wrongly configure***d. ***security: encoders: FOSUserBundleModelUserInterface: bcrypt role_hierarchy: ROLE_ADMIN: ROLE_USER ROLE_SUPER_ADMIN: ROLE_ADMIN # https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers providers: fos_userbundle: id: fos_user.user_provider.username firewalls: dev: pattern: ^/(_(profiler|wdt)|css|images|js)/ security: false login: pattern: ^/api/login stateless: true anonymous:…

How to implement multiple authentication in Symfony?

I am following following tutorial about Backend API AUthentication using JWT. https://rojas.io/building-a-jwt-authenticator-in-symfony-4/ I have two authentication in my API. LoginAuthenticator JwtAuthenticator. Below is my security.yaml file. security: encoders: AppEntityUser: algorithm: auto providers: app_user_provider: entity: class: AppEntityUser property: email firewalls: dev:…