<?php
/** Configuração de login social. Use variáveis de ambiente ou config.local.php. */

return [
    'google' => [
        'client_id'     => (string)af_env('GOOGLE_CLIENT_ID', ''),
        'client_secret' => (string)af_env('GOOGLE_CLIENT_SECRET', ''),
        'redirect_uri'  => SITE_URL . '/auth/google-callback.php',
    ],
    'apple' => [
        'client_id'    => (string)af_env('APPLE_CLIENT_ID', ''),
        'team_id'      => (string)af_env('APPLE_TEAM_ID', ''),
        'key_id'       => (string)af_env('APPLE_KEY_ID', ''),
        'private_key'  => (string)af_env('APPLE_PRIVATE_KEY_PATH', ROOT_PATH . '/config/AuthKey_XXXXXXXXXX.p8'),
        'redirect_uri' => SITE_URL . '/auth/apple-callback.php',
    ],
];
