Last active
January 27, 2019 10:25
-
-
Save piotrbrzezina/fc272c8c2e7a6e8341ee884124b6a6e4 to your computer and use it in GitHub Desktop.
configure security step 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
firewalls: | |
login: | |
pattern: ^/login | |
stateless: true | |
anonymous: true | |
provider: db_provider | |
json_login: | |
check_path: /login | |
username_path: email | |
password_path: password | |
success_handler: lexik_jwt_authentication.handler.authentication_success | |
failure_handler: lexik_jwt_authentication.handler.authentication_failure | |
main: | |
pattern: ^/ | |
provider: db_provider | |
stateless: true | |
anonymous: true | |
guard: | |
authenticators: | |
- lexik_jwt_authentication.jwt_token_authenticator | |
dev: | |
pattern: ^/(_(profiler|wdt)|css|images|js)/ | |
security: false | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment