Skip to content

Commit

Permalink
IBX-8290: Reworked REST authentication to comply with the authenticat…
Browse files Browse the repository at this point in the history
…or mechanism under separate firewall
  • Loading branch information
konradoboza committed May 29, 2024
1 parent cf3ce7f commit 17b1e4d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
6 changes: 5 additions & 1 deletion ibexa/commerce/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,14 @@ security:
# csrf_token_generator: security.csrf.token_manager
# logout: ~

ibexa_rest:
pattern: ^/api/ibexa
custom_authenticators:
- Ibexa\Rest\Security\Authenticator\RestAuthenticator

ibexa_front:
pattern: ^/
user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker
ibexa_rest_session: ~
form_login:
require_previous_session: false
enable_csrf: true
Expand Down
6 changes: 5 additions & 1 deletion ibexa/experience/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,14 @@ security:
# csrf_token_generator: security.csrf.token_manager
# logout: ~

ibexa_rest:
pattern: ^/api/ibexa
custom_authenticators:
- Ibexa\Rest\Security\Authenticator\RestAuthenticator

ibexa_front:
pattern: ^/
user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker
ibexa_rest_session: ~
form_login:
require_previous_session: false
enable_csrf: true
Expand Down
6 changes: 5 additions & 1 deletion ibexa/headless/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,14 @@ security:
# csrf_token_generator: security.csrf.token_manager
# logout: ~

ibexa_rest:
pattern: ^/api/ibexa
custom_authenticators:
- Ibexa\Rest\Security\Authenticator\RestAuthenticator

ibexa_front:
pattern: ^/
user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker
ibexa_rest_session: ~
form_login:
require_previous_session: false
enable_csrf: true
Expand Down
6 changes: 5 additions & 1 deletion ibexa/oss/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,14 @@ security:
# entry_point: lexik_jwt_authentication.jwt_token_authenticator
# stateless: true

ibexa_rest:
pattern: ^/api/ibexa
custom_authenticators:
- Ibexa\Rest\Security\Authenticator\RestAuthenticator

ibexa_front:
pattern: ^/
user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker
ibexa_rest_session: ~
form_login:
require_previous_session: false
enable_csrf: true
Expand Down

0 comments on commit 17b1e4d

Please sign in to comment.