-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IBX-8356: Reworked JWT GraphQL firewall configuration to comply with …
…Symfony-based authentication (#124) * IBX-8356: Reworked JWT GraphQL firewall configuration to comply with Symfony-based authentication * added missing lexik_jwt_authentication.yaml to OSS and Headless editions * [tmp] set jwt gql to enabled * specified user provider explicitly for all reworked firewalls * Revert "[tmp] set jwt gql to enabled" This reverts commit a4b2805. --------- Co-authored-by: Michał Szołtysek <[email protected]>
- Loading branch information
1 parent
bf4c8ff
commit aa3a512
Showing
6 changed files
with
44 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
ibexa/headless/5.0/config/packages/lexik_jwt_authentication.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
lexik_jwt_authentication: | ||
secret_key: '%env(APP_SECRET)%' | ||
encoder: | ||
signature_algorithm: HS256 | ||
# Disabled by default, because Page builder use an custom extractor | ||
token_extractors: | ||
authorization_header: | ||
enabled: false | ||
cookie: | ||
enabled: false | ||
query_parameter: | ||
enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
ibexa/oss/5.0/config/packages/lexik_jwt_authentication.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
lexik_jwt_authentication: | ||
secret_key: '%env(APP_SECRET)%' | ||
encoder: | ||
signature_algorithm: HS256 | ||
# Disabled by default, because Page builder use an custom extractor | ||
token_extractors: | ||
authorization_header: | ||
enabled: false | ||
cookie: | ||
enabled: false | ||
query_parameter: | ||
enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters