framework:
    form:
        enabled: true
    secret: test
    router:
        resource: '%kernel.project_dir%/Tests/Functional/config/routing.yml'

twig:
    exception_controller: null
    strict_variables: '%kernel.debug%'

fos_oauth_server:

security:
    role_hierarchy:
        ROLE_ADMIN:       ROLE_USER
        ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]

    firewalls:
        oauth_token:
            pattern:    ^/oauth/v2/token
            security:   false

        oauth_authorize:
            pattern:    ^/oauth/v2/auth
            security: false

        secured:
            pattern:    ^/
            fos_oauth:  true
            stateless:  true
