Skip to content

Commit

Permalink
IBX-8656: Reworked OAuth2 client authentication to comply with new Sy…
Browse files Browse the repository at this point in the history
…mfony security
  • Loading branch information
konradoboza committed Aug 14, 2024
1 parent 78b2847 commit bffaf34
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 24 deletions.
14 changes: 6 additions & 8 deletions ibexa/commerce/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,14 @@ security:
#ibexa_oauth2_front:
# pattern: ^/
# user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker
# anonymous: ~
# ibexa_rest_session: ~
# guard:
# authenticators:
# - Ibexa\Bundle\OAuth2Client\Security\Authenticator\OAuth2Authenticator
# - Ibexa\PageBuilder\Security\EditorialMode\TokenAuthenticator
# entry_point: Ibexa\Bundle\OAuth2Client\Security\Authenticator\OAuth2Authenticator
# 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
# csrf_token_generator: security.csrf.token_manager
# enable_csrf: true
# logout: ~

ibexa_rest:
Expand Down
14 changes: 6 additions & 8 deletions ibexa/experience/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,14 @@ security:
#ibexa_oauth2_front:
# pattern: ^/
# user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker
# anonymous: ~
# ibexa_rest_session: ~
# guard:
# authenticators:
# - Ibexa\Bundle\OAuth2Client\Security\Authenticator\OAuth2Authenticator
# - Ibexa\PageBuilder\Security\EditorialMode\TokenAuthenticator
# entry_point: Ibexa\Bundle\OAuth2Client\Security\Authenticator\OAuth2Authenticator
# 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
# csrf_token_generator: security.csrf.token_manager
# enable_csrf: true
# logout: ~

ibexa_rest:
Expand Down
13 changes: 5 additions & 8 deletions ibexa/headless/5.0/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,13 @@ security:
#ibexa_oauth2_front:
# pattern: ^/
# user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker
# anonymous: ~
# ibexa_rest_session: ~
# guard:
# authenticators:
# - Ibexa\Bundle\OAuth2Client\Security\Authenticator\OAuth2Authenticator
# - Ibexa\PageBuilder\Security\EditorialMode\TokenAuthenticator
# entry_point: Ibexa\Bundle\OAuth2Client\Security\Authenticator\OAuth2Authenticator
# custom_authenticators:
# - Ibexa\Bundle\OAuth2Client\Security\Authenticator\OAuth2Authenticator
# entry_point: Ibexa\Bundle\OAuth2Client\Security\Authenticator\OAuth2Authenticator
# context: ibexa_dxp
# form_login:
# require_previous_session: false
# csrf_token_generator: security.csrf.token_manager
# enable_csrf: true
# logout: ~

ibexa_rest:
Expand Down

0 comments on commit bffaf34

Please sign in to comment.