# see https://symfony.com/doc/current/reference/configuration/framework.html
framework:
    secret: '%env(APP_SECRET)%'
    session:
        # default configuration - turn off symfony app handling of session (breaks google login)
        handler_id: ~
        cookie_secure: auto
        cookie_samesite: lax
        # ... other session options

parameters:
    google_client_id: '%env(string:OAUTH_GOOGLE_ID)%'

    #esi: true
    #fragments: true

when@test:
    framework:
        test: true
        session:
            storage_factory_id: session.storage.factory.mock_file
