From d311097227999d5d49e0862698a831adb054987a Mon Sep 17 00:00:00 2001 From: konradoboza Date: Thu, 13 Jun 2024 08:36:32 +0200 Subject: [PATCH] IBX-8356: Reworked JWT GraphQL firewall configuration to comply with Symfony-based authentication --- ibexa/commerce/5.0/config/packages/security.yaml | 7 +------ ibexa/experience/5.0/config/packages/security.yaml | 7 +------ ibexa/headless/5.0/config/packages/security.yaml | 7 +------ ibexa/oss/5.0/config/packages/security.yaml | 7 +------ 4 files changed, 4 insertions(+), 24 deletions(-) diff --git a/ibexa/commerce/5.0/config/packages/security.yaml b/ibexa/commerce/5.0/config/packages/security.yaml index 00f756da..30504984 100644 --- a/ibexa/commerce/5.0/config/packages/security.yaml +++ b/ibexa/commerce/5.0/config/packages/security.yaml @@ -100,13 +100,8 @@ security: #ibexa_jwt_graphql: # request_matcher: Ibexa\GraphQL\Security\NonAdminGraphQLRequestMatcher - # user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker - # anonymous: ~ - # guard: - # authenticators: - # - lexik_jwt_authentication.jwt_token_authenticator - # entry_point: lexik_jwt_authentication.jwt_token_authenticator # stateless: true + # jwt: ~ # Uncomment ibexa_oauth2_connect, ibexa_oauth2_front rules and comment ibexa_front firewall # to enable OAuth2 authentication diff --git a/ibexa/experience/5.0/config/packages/security.yaml b/ibexa/experience/5.0/config/packages/security.yaml index 52bd4ccc..b95bb3eb 100644 --- a/ibexa/experience/5.0/config/packages/security.yaml +++ b/ibexa/experience/5.0/config/packages/security.yaml @@ -88,13 +88,8 @@ security: #ibexa_jwt_graphql: # request_matcher: Ibexa\GraphQL\Security\NonAdminGraphQLRequestMatcher - # user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker - # anonymous: ~ - # guard: - # authenticators: - # - lexik_jwt_authentication.jwt_token_authenticator - # entry_point: lexik_jwt_authentication.jwt_token_authenticator # stateless: true + # jwt: ~ # Uncomment ibexa_oauth2_connect, ibexa_oauth2_front rules and comment ibexa_front firewall # to enable OAuth2 authentication diff --git a/ibexa/headless/5.0/config/packages/security.yaml b/ibexa/headless/5.0/config/packages/security.yaml index 52bd4ccc..b95bb3eb 100644 --- a/ibexa/headless/5.0/config/packages/security.yaml +++ b/ibexa/headless/5.0/config/packages/security.yaml @@ -88,13 +88,8 @@ security: #ibexa_jwt_graphql: # request_matcher: Ibexa\GraphQL\Security\NonAdminGraphQLRequestMatcher - # user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker - # anonymous: ~ - # guard: - # authenticators: - # - lexik_jwt_authentication.jwt_token_authenticator - # entry_point: lexik_jwt_authentication.jwt_token_authenticator # stateless: true + # jwt: ~ # Uncomment ibexa_oauth2_connect, ibexa_oauth2_front rules and comment ibexa_front firewall # to enable OAuth2 authentication diff --git a/ibexa/oss/5.0/config/packages/security.yaml b/ibexa/oss/5.0/config/packages/security.yaml index ce0ac721..7fc85c67 100644 --- a/ibexa/oss/5.0/config/packages/security.yaml +++ b/ibexa/oss/5.0/config/packages/security.yaml @@ -66,13 +66,8 @@ security: #ibexa_jwt_graphql: # request_matcher: Ibexa\GraphQL\Security\NonAdminGraphQLRequestMatcher - # user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker - # anonymous: ~ - # guard: - # authenticators: - # - lexik_jwt_authentication.jwt_token_authenticator - # entry_point: lexik_jwt_authentication.jwt_token_authenticator # stateless: true + # jwt: ~ ibexa_front: pattern: ^/