Skip to content

Commit

Permalink
[tmp] set jwt gql to enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
micszo authored and konradoboza committed Jun 27, 2024
1 parent 29308a0 commit a4b2805
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions ibexa/commerce/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions ibexa/experience/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions ibexa/headless/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions ibexa/oss/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a4b2805

Please sign in to comment.