Skip to content
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
14 changes: 9 additions & 5 deletions ibexa/commerce/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
29 changes: 11 additions & 18 deletions ibexa/experience/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand Down
15 changes: 11 additions & 4 deletions ibexa/headless/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
15 changes: 11 additions & 4 deletions ibexa/oss/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down