Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBX-8290: Reworked REST authentication to comply with the new Symfony authenticator mechanism under separate firewall #121

Merged
merged 2 commits into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 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,17 @@ security:
# csrf_token_generator: security.csrf.token_manager
# logout: ~

ibexa_rest:
pattern: ^/api/ibexa
user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker
context: ibexa
custom_authenticators:
- Ibexa\Rest\Security\Authenticator\RestAuthenticator

ibexa_front:
pattern: ^/
user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker
ibexa_rest_session: ~
context: ibexa
form_login:
require_previous_session: false
enable_csrf: true
Expand Down
9 changes: 8 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,17 @@ security:
# csrf_token_generator: security.csrf.token_manager
# logout: ~

ibexa_rest:
pattern: ^/api/ibexa
user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker
context: ibexa
custom_authenticators:
- Ibexa\Rest\Security\Authenticator\RestAuthenticator

ibexa_front:
pattern: ^/
user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker
ibexa_rest_session: ~
context: ibexa
form_login:
require_previous_session: false
enable_csrf: true
Expand Down
9 changes: 8 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,17 @@ security:
# csrf_token_generator: security.csrf.token_manager
# logout: ~

ibexa_rest:
pattern: ^/api/ibexa
user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker
context: ibexa
custom_authenticators:
- Ibexa\Rest\Security\Authenticator\RestAuthenticator

ibexa_front:
pattern: ^/
user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker
ibexa_rest_session: ~
context: ibexa
form_login:
require_previous_session: false
enable_csrf: true
Expand Down
9 changes: 8 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,17 @@ security:
# entry_point: lexik_jwt_authentication.jwt_token_authenticator
# stateless: true

ibexa_rest:
pattern: ^/api/ibexa
user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker
context: ibexa
custom_authenticators:
- Ibexa\Rest\Security\Authenticator\RestAuthenticator

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