Skip to content

Commit

Permalink
IBX-8356: Reworked JWT GraphQL firewall configuration to comply with …
Browse files Browse the repository at this point in the history
…Symfony-based authentication
  • Loading branch information
konradoboza committed Jun 25, 2024
1 parent 311c2d0 commit d311097
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 24 deletions.
7 changes: 1 addition & 6 deletions ibexa/commerce/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 1 addition & 6 deletions ibexa/experience/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 1 addition & 6 deletions ibexa/headless/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 1 addition & 6 deletions ibexa/oss/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ^/
Expand Down

0 comments on commit d311097

Please sign in to comment.