From 600f90c54fc75b2301b3e19d3b4ebbcc3b71728e Mon Sep 17 00:00:00 2001 From: Ron Rademaker Date: Mon, 2 Nov 2020 08:03:20 +0100 Subject: [PATCH] Update docs to use lexik default success handler --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c761f24..c2e2fb0 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,8 @@ lexik_jwt_authentication: cookie: enabled: true name: BEARER + set_cookies: + BEARER: ~ ``` ### Make sure the token is set as a secure cookie @@ -74,7 +76,7 @@ In the `security.yaml` config file: anonymous: true json_login: check_path: /api/login_check - success_handler: ConnectHolland\SecureJWTBundle\Security\Http\Authentication\AuthenticationSuccessHandler + success_handler: lexik_jwt_authentication.handler.authentication_success failure_handler: lexik_jwt_authentication.handler.authentication_failure ```