From 3bfc56d154f33dbd75595cea826d92531fc05726 Mon Sep 17 00:00:00 2001 From: wiese Date: Wed, 20 Oct 2021 08:39:58 +0200 Subject: [PATCH] fix: remove 'anonymous' security in JWT config The anonymous option for the firewall config was removed in symfony 5.1 as explained here: https://github.com/symfony/symfony/pull/36574 Using the option caused an error but it can be skipped. "[A] user that is not authenticated is similar to an "unknown" user: They both have no rights at all." Resolves #1445 --- core/jwt.md | 1 - 1 file changed, 1 deletion(-) diff --git a/core/jwt.md b/core/jwt.md index dcf807e686e..b78c7af0526 100644 --- a/core/jwt.md +++ b/core/jwt.md @@ -84,7 +84,6 @@ security: security: false main: stateless: true - anonymous: true provider: app_user_provider json_login: check_path: /authentication_token