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 19, 2024
1 parent 311c2d0 commit a6ee64e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 20 deletions.
7 changes: 2 additions & 5 deletions ibexa/commerce/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,9 @@ 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
# custom_authenticators:
# - Ibexa\GraphQL\Security\JWTAuthenticator

# Uncomment ibexa_oauth2_connect, ibexa_oauth2_front rules and comment ibexa_front firewall
# to enable OAuth2 authentication
Expand Down
7 changes: 2 additions & 5 deletions ibexa/experience/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,9 @@ 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
# custom_authenticators:
# - Ibexa\GraphQL\Security\JWTAuthenticator

# Uncomment ibexa_oauth2_connect, ibexa_oauth2_front rules and comment ibexa_front firewall
# to enable OAuth2 authentication
Expand Down
7 changes: 2 additions & 5 deletions ibexa/headless/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,9 @@ 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
# custom_authenticators:
# - Ibexa\GraphQL\Security\JWTAuthenticator

# Uncomment ibexa_oauth2_connect, ibexa_oauth2_front rules and comment ibexa_front firewall
# to enable OAuth2 authentication
Expand Down
7 changes: 2 additions & 5 deletions ibexa/oss/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,9 @@ 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
# custom_authenticators:
# - Ibexa\GraphQL\Security\JWTAuthenticator

ibexa_front:
pattern: ^/
Expand Down

0 comments on commit a6ee64e

Please sign in to comment.