Skip to content

Commit

Permalink
[tmp] changed firewall settings in security.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszszopinski authored and konradoboza committed Aug 14, 2024
1 parent bffaf34 commit 2c2cae2
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 29 deletions.
55 changes: 28 additions & 27 deletions ibexa/commerce/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,18 +120,19 @@ security:
# pattern: /oauth2/connect/*
# security: false

#ibexa_oauth2_front:
# pattern: ^/
# user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker
# custom_authenticators:
# - Ibexa\Bundle\OAuth2Client\Security\Authenticator\OAuth2Authenticator
# - Ibexa\PageBuilder\Security\EditorialMode\FragmentAuthenticator
# entry_point: Ibexa\Bundle\OAuth2Client\Security\Authenticator\OAuth2Authenticator
# context: ibexa_dxp
# form_login:
# require_previous_session: false
# enable_csrf: true
# logout: ~
ibexa_oauth2_front:
pattern: ^/
provider: ibexa
user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker
custom_authenticators:
- Ibexa\Bundle\OAuth2Client\Security\Authenticator\OAuth2Authenticator
- Ibexa\PageBuilder\Security\EditorialMode\FragmentAuthenticator
entry_point: Ibexa\Bundle\OAuth2Client\Security\Authenticator\OAuth2Authenticator
context: ibexa
form_login:
require_previous_session: false
enable_csrf: true
logout: ~

ibexa_rest:
pattern: ^/api/ibexa
Expand All @@ -141,21 +142,21 @@ security:
custom_authenticators:
- Ibexa\Rest\Security\Authenticator\RestAuthenticator

ibexa_front:
pattern: ^/
provider: ibexa
user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker
context: ibexa
form_login:
require_previous_session: false
enable_csrf: true
login_path: login
check_path: login_check
custom_authenticators:
- Ibexa\PageBuilder\Security\EditorialMode\FragmentAuthenticator
entry_point: form_login
logout:
path: logout
# ibexa_front:
# pattern: ^/
# provider: ibexa
# user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker
# context: ibexa
# form_login:
# require_previous_session: false
# enable_csrf: true
# login_path: login
# check_path: login_check
# custom_authenticators:
# - Ibexa\PageBuilder\Security\EditorialMode\FragmentAuthenticator
# entry_point: form_login
# logout:
# path: logout

main:
# activate different ways to authenticate
Expand Down
3 changes: 2 additions & 1 deletion ibexa/experience/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,13 @@ security:

#ibexa_oauth2_front:
# pattern: ^/
# provider: ibexa
# user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker
# custom_authenticators:
# - Ibexa\Bundle\OAuth2Client\Security\Authenticator\OAuth2Authenticator
# - Ibexa\PageBuilder\Security\EditorialMode\FragmentAuthenticator
# entry_point: Ibexa\Bundle\OAuth2Client\Security\Authenticator\OAuth2Authenticator
# context: ibexa_dxp
# context: ibexa
# form_login:
# require_previous_session: false
# enable_csrf: true
Expand Down
3 changes: 2 additions & 1 deletion ibexa/headless/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,12 @@ security:

#ibexa_oauth2_front:
# pattern: ^/
# provider: ibexa
# user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker
# custom_authenticators:
# - Ibexa\Bundle\OAuth2Client\Security\Authenticator\OAuth2Authenticator
# entry_point: Ibexa\Bundle\OAuth2Client\Security\Authenticator\OAuth2Authenticator
# context: ibexa_dxp
# context: ibexa
# form_login:
# require_previous_session: false
# enable_csrf: true
Expand Down

0 comments on commit 2c2cae2

Please sign in to comment.