From a4b28059d00095655e84d557942e32a1231b2225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Szo=C5=82tysek?= Date: Thu, 27 Jun 2024 09:16:20 +0200 Subject: [PATCH] [tmp] set jwt gql to enabled --- .../5.0/config/packages/lexik_jwt_authentication.yaml | 2 +- ibexa/commerce/5.0/config/packages/security.yaml | 8 ++++---- .../5.0/config/packages/lexik_jwt_authentication.yaml | 2 +- ibexa/experience/5.0/config/packages/security.yaml | 8 ++++---- .../5.0/config/packages/lexik_jwt_authentication.yaml | 2 +- ibexa/headless/5.0/config/packages/security.yaml | 8 ++++---- .../oss/5.0/config/packages/lexik_jwt_authentication.yaml | 2 +- ibexa/oss/5.0/config/packages/security.yaml | 8 ++++---- 8 files changed, 20 insertions(+), 20 deletions(-) diff --git a/ibexa/commerce/5.0/config/packages/lexik_jwt_authentication.yaml b/ibexa/commerce/5.0/config/packages/lexik_jwt_authentication.yaml index 42ddd3ce..e1e64743 100644 --- a/ibexa/commerce/5.0/config/packages/lexik_jwt_authentication.yaml +++ b/ibexa/commerce/5.0/config/packages/lexik_jwt_authentication.yaml @@ -5,7 +5,7 @@ lexik_jwt_authentication: # Disabled by default, because Page builder use an custom extractor token_extractors: authorization_header: - enabled: false + enabled: true cookie: enabled: false query_parameter: diff --git a/ibexa/commerce/5.0/config/packages/security.yaml b/ibexa/commerce/5.0/config/packages/security.yaml index 47d9048c..c8fe0843 100644 --- a/ibexa/commerce/5.0/config/packages/security.yaml +++ b/ibexa/commerce/5.0/config/packages/security.yaml @@ -99,10 +99,10 @@ security: # success_handler: lexik_jwt_authentication.handler.authentication_success # failure_handler: lexik_jwt_authentication.handler.authentication_failure - #ibexa_jwt_graphql: - # request_matcher: Ibexa\GraphQL\Security\NonAdminGraphQLRequestMatcher - # stateless: true - # jwt: ~ + ibexa_jwt_graphql: + request_matcher: Ibexa\GraphQL\Security\NonAdminGraphQLRequestMatcher + 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/lexik_jwt_authentication.yaml b/ibexa/experience/5.0/config/packages/lexik_jwt_authentication.yaml index 42ddd3ce..e1e64743 100644 --- a/ibexa/experience/5.0/config/packages/lexik_jwt_authentication.yaml +++ b/ibexa/experience/5.0/config/packages/lexik_jwt_authentication.yaml @@ -5,7 +5,7 @@ lexik_jwt_authentication: # Disabled by default, because Page builder use an custom extractor token_extractors: authorization_header: - enabled: false + enabled: true cookie: enabled: false query_parameter: diff --git a/ibexa/experience/5.0/config/packages/security.yaml b/ibexa/experience/5.0/config/packages/security.yaml index 76d66d0b..3d079d66 100644 --- a/ibexa/experience/5.0/config/packages/security.yaml +++ b/ibexa/experience/5.0/config/packages/security.yaml @@ -87,10 +87,10 @@ security: # success_handler: lexik_jwt_authentication.handler.authentication_success # failure_handler: lexik_jwt_authentication.handler.authentication_failure - #ibexa_jwt_graphql: - # request_matcher: Ibexa\GraphQL\Security\NonAdminGraphQLRequestMatcher - # stateless: true - # jwt: ~ + ibexa_jwt_graphql: + request_matcher: Ibexa\GraphQL\Security\NonAdminGraphQLRequestMatcher + 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/lexik_jwt_authentication.yaml b/ibexa/headless/5.0/config/packages/lexik_jwt_authentication.yaml index 42ddd3ce..e1e64743 100644 --- a/ibexa/headless/5.0/config/packages/lexik_jwt_authentication.yaml +++ b/ibexa/headless/5.0/config/packages/lexik_jwt_authentication.yaml @@ -5,7 +5,7 @@ lexik_jwt_authentication: # Disabled by default, because Page builder use an custom extractor token_extractors: authorization_header: - enabled: false + enabled: true cookie: enabled: false query_parameter: diff --git a/ibexa/headless/5.0/config/packages/security.yaml b/ibexa/headless/5.0/config/packages/security.yaml index 76d66d0b..3d079d66 100644 --- a/ibexa/headless/5.0/config/packages/security.yaml +++ b/ibexa/headless/5.0/config/packages/security.yaml @@ -87,10 +87,10 @@ security: # success_handler: lexik_jwt_authentication.handler.authentication_success # failure_handler: lexik_jwt_authentication.handler.authentication_failure - #ibexa_jwt_graphql: - # request_matcher: Ibexa\GraphQL\Security\NonAdminGraphQLRequestMatcher - # stateless: true - # jwt: ~ + ibexa_jwt_graphql: + request_matcher: Ibexa\GraphQL\Security\NonAdminGraphQLRequestMatcher + 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/lexik_jwt_authentication.yaml b/ibexa/oss/5.0/config/packages/lexik_jwt_authentication.yaml index 42ddd3ce..e1e64743 100644 --- a/ibexa/oss/5.0/config/packages/lexik_jwt_authentication.yaml +++ b/ibexa/oss/5.0/config/packages/lexik_jwt_authentication.yaml @@ -5,7 +5,7 @@ lexik_jwt_authentication: # Disabled by default, because Page builder use an custom extractor token_extractors: authorization_header: - enabled: false + enabled: true cookie: enabled: false query_parameter: diff --git a/ibexa/oss/5.0/config/packages/security.yaml b/ibexa/oss/5.0/config/packages/security.yaml index 342b0a44..61eb446a 100644 --- a/ibexa/oss/5.0/config/packages/security.yaml +++ b/ibexa/oss/5.0/config/packages/security.yaml @@ -65,10 +65,10 @@ security: # success_handler: lexik_jwt_authentication.handler.authentication_success # failure_handler: lexik_jwt_authentication.handler.authentication_failure - #ibexa_jwt_graphql: - # request_matcher: Ibexa\GraphQL\Security\NonAdminGraphQLRequestMatcher - # stateless: true - # jwt: ~ + ibexa_jwt_graphql: + request_matcher: Ibexa\GraphQL\Security\NonAdminGraphQLRequestMatcher + stateless: true + jwt: ~ ibexa_rest: pattern: ^/api/ibexa