Skip to content

Commit

Permalink
reverted tmp commit
Browse files Browse the repository at this point in the history
  • Loading branch information
konradoboza committed Aug 14, 2024
1 parent 2c2cae2 commit de85e60
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions ibexa/commerce/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,19 +120,19 @@ security:
# pattern: /oauth2/connect/*
# security: false

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_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 @@ -142,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

0 comments on commit de85e60

Please sign in to comment.