diff --git a/ibexa/commerce/5.0/config/packages/security.yaml b/ibexa/commerce/5.0/config/packages/security.yaml index 4541b06a..00f756da 100644 --- a/ibexa/commerce/5.0/config/packages/security.yaml +++ b/ibexa/commerce/5.0/config/packages/security.yaml @@ -27,6 +27,11 @@ # To get started with security, check out the documentation: # https://symfony.com/doc/current/security.html security: + enable_authenticator_manager: true + + password_hashers: + Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'auto' + # https://symfony.com/doc/current/security.html#b-configuring-how-users-are-loaded providers: ibexa: @@ -128,18 +133,17 @@ security: ibexa_front: pattern: ^/ user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker - anonymous: ~ ibexa_rest_session: ~ form_login: require_previous_session: false - csrf_token_generator: security.csrf.token_manager - guard: - authenticator: 'Ibexa\PageBuilder\Security\EditorialMode\TokenAuthenticator' + enable_csrf: true + login_path: login + check_path: login_check + entry_point: form_login logout: path: logout main: - anonymous: ~ # activate different ways to authenticate # https://symfony.com/doc/current/security.html#a-configuring-how-your-users-will-authenticate diff --git a/ibexa/experience/5.0/config/packages/security.yaml b/ibexa/experience/5.0/config/packages/security.yaml index fa4356be..52bd4ccc 100644 --- a/ibexa/experience/5.0/config/packages/security.yaml +++ b/ibexa/experience/5.0/config/packages/security.yaml @@ -27,6 +27,11 @@ # To get started with security, check out the documentation: # https://symfony.com/doc/current/security.html security: + enable_authenticator_manager: true + + password_hashers: + Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'auto' + # https://symfony.com/doc/current/security.html#b-configuring-how-users-are-loaded providers: ibexa: @@ -53,18 +58,6 @@ security: pattern: /user/from-invite/register|/from-invite/register security: false - ibexa_corporate_dev: - pattern: ^/corporate/(css|images|js)/ - security: false - - ibexa_corporate_customer_portal_register: - pattern: ^/corporate/customer-portal/register - security: false - - ibexa_corporate_fieldtype_address: - pattern: ^/corporate/address/form/ - security: false - ## Uncomment oauth2_token firewall if you wish to use product as an OAuth2 Server. ## Use oauth2 guard any other (for example ibexa_front) firewall you wish to be ## exposed as OAuth2-available resource. Example: @@ -128,17 +121,17 @@ security: ibexa_front: pattern: ^/ user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker - anonymous: ~ ibexa_rest_session: ~ form_login: require_previous_session: false - csrf_token_generator: security.csrf.token_manager - guard: - authenticator: 'Ibexa\PageBuilder\Security\EditorialMode\TokenAuthenticator' - logout: ~ + enable_csrf: true + login_path: login + check_path: login_check + entry_point: form_login + logout: + path: logout main: - anonymous: ~ # activate different ways to authenticate # https://symfony.com/doc/current/security.html#a-configuring-how-your-users-will-authenticate diff --git a/ibexa/headless/5.0/config/packages/security.yaml b/ibexa/headless/5.0/config/packages/security.yaml index 14cc7f9d..52bd4ccc 100644 --- a/ibexa/headless/5.0/config/packages/security.yaml +++ b/ibexa/headless/5.0/config/packages/security.yaml @@ -27,6 +27,11 @@ # To get started with security, check out the documentation: # https://symfony.com/doc/current/security.html security: + enable_authenticator_manager: true + + password_hashers: + Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'auto' + # https://symfony.com/doc/current/security.html#b-configuring-how-users-are-loaded providers: ibexa: @@ -116,15 +121,17 @@ security: ibexa_front: pattern: ^/ user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker - anonymous: ~ ibexa_rest_session: ~ form_login: require_previous_session: false - csrf_token_generator: security.csrf.token_manager - logout: ~ + enable_csrf: true + login_path: login + check_path: login_check + entry_point: form_login + logout: + path: logout main: - anonymous: ~ # activate different ways to authenticate # https://symfony.com/doc/current/security.html#a-configuring-how-your-users-will-authenticate diff --git a/ibexa/oss/5.0/config/packages/security.yaml b/ibexa/oss/5.0/config/packages/security.yaml index 2ae3106b..ce0ac721 100644 --- a/ibexa/oss/5.0/config/packages/security.yaml +++ b/ibexa/oss/5.0/config/packages/security.yaml @@ -27,6 +27,11 @@ # To get started with security, check out the documentation: # https://symfony.com/doc/current/security.html security: + enable_authenticator_manager: true + + password_hashers: + Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'auto' + # https://symfony.com/doc/current/security.html#b-configuring-how-users-are-loaded providers: ibexa: @@ -72,15 +77,17 @@ security: ibexa_front: pattern: ^/ user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker - anonymous: ~ ibexa_rest_session: ~ form_login: require_previous_session: false - csrf_token_generator: security.csrf.token_manager - logout: ~ + enable_csrf: true + login_path: login + check_path: login_check + entry_point: form_login + logout: + path: logout main: - anonymous: ~ # activate different ways to authenticate # https://symfony.com/doc/current/security.html#a-configuring-how-your-users-will-authenticate