Skip to content

Commit 89b0eb7

Browse files
committed
Update LexikJWTAuthenticationBundle configuration
The "lexik_jwt_authentication.security.authentication.entry_point.main" service is deprecated
1 parent 52f75b5 commit 89b0eb7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/jwt.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ security:
4848
provider: fos_userbundle
4949
stateless: true
5050
anonymous: true
51-
lexik_jwt: ~
51+
guard:
52+
authenticators:
53+
- lexik_jwt_authentication.jwt_token_authenticator
5254

5355
dev:
5456
pattern: ^/(_(profiler|wdt)|css|images|js)/

0 commit comments

Comments
 (0)