knpu_oauth2_client:
    clients:
        # Google OAuth
        google:
            type: google
            client_id: '%env(GOOGLE_CLIENT_ID)%'
            client_secret: '%env(GOOGLE_CLIENT_SECRET)%'
            redirect_route: oauth_google_callback
            redirect_params: {}
            user_fields:
                - email
                - name
                - picture

        # Facebook OAuth
        facebook:
            type: facebook
            client_id: '%env(FACEBOOK_CLIENT_ID)%'
            client_secret: '%env(FACEBOOK_CLIENT_SECRET)%'
            redirect_route: oauth_facebook_callback
            redirect_params: {}
            graph_api_version: v18.0

        # Instagram OAuth
        instagram:
            type: instagram
            client_id: '%env(INSTAGRAM_CLIENT_ID)%'
            client_secret: '%env(INSTAGRAM_CLIENT_SECRET)%'
            redirect_route: oauth_instagram_callback
            redirect_params: {}
