Added missing features

This commit is contained in:
Jan Böhmer 2026-07-27 16:09:39 +02:00
parent 37108dbf56
commit fb2759a5b5
21 changed files with 1747 additions and 1 deletions

View file

@ -4,6 +4,9 @@ controllers:
namespace: App\Controller
type: attribute
prefix: '{_locale}'
# OAuth2 protocol endpoints (client registration, discovery metadata) must live at fixed,
# spec-mandated paths with no locale prefix - see config/routes/oauth_server_controllers.yaml.
exclude: '../../src/Controller/OAuth/*'
defaults:
_locale: '%kernel.default_locale%'
@ -11,6 +14,12 @@ controllers:
# Match only locales like de_DE or de
_locale: "^[a-z]{2}(_[A-Z]{2})?$"
oauth_server_controllers:
resource:
path: ../../src/Controller/OAuth/
namespace: App\Controller\OAuth
type: attribute
kernel:
resource: ../../src/Kernel.php
type: attribute